Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

141 lines
10 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // File: cmstp.rc
  4. //
  5. // Module: CMSTP.EXE
  6. //
  7. // Synopsis: Resource Script
  8. //
  9. // Copyright (c) 1998-1999 Microsoft Corporation
  10. //
  11. // Author: quintinb Created 07/13/98
  12. //
  13. //+----------------------------------------------------------------------------
  14. #include "pnpuverp.h"
  15. #include "cmprdver.h"
  16. #define VER_FILETYPE VFT_DLL
  17. #define VER_FILESUBTYPE VFT2_UNKNOWN
  18. #define VER_FILEDESCRIPTION_STR "Microsoft Connection Manager Profile Installer"
  19. #define VER_INTERNALNAME_STR "CMSTP"
  20. #define VER_ORIGINALFILENAME_STR "CMSTP.EXE"
  21. #include <common.ver>
  22. #include <windows.h>
  23. #include "resource.h"
  24. #include "allcmdir.rc"
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // Icon
  28. //
  29. // Icon with lowest ID value placed first to ensure application icon
  30. // remains consistent on all systems.
  31. EXE_ICON ICON DISCARDABLE "..\profwiz\cmak.ico"
  32. /////////////////////////////////////////////////////////////////////////////
  33. //
  34. // Dialog
  35. //
  36. IDD_ADMINUI DIALOG DISCARDABLE 0, 0, 170, 137
  37. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  38. CAPTION "My New Connection"
  39. FONT 8, "MS Shell Dlg"
  40. BEGIN
  41. CONTROL "&All users",IDC_ALLUSERS,"Button",BS_AUTORADIOBUTTON |
  42. WS_TABSTOP | WS_GROUP,16,27,146,10
  43. CONTROL "&My use only",IDC_YOURSELF,"Button",BS_AUTORADIOBUTTON,
  44. 16,40,146,10
  45. CONTROL "A&dd a shortcut on the desktop",IDC_DESKTOP,"Button",
  46. WS_GROUP | BS_AUTOCHECKBOX | WS_TABSTOP,17,91,145,10
  47. DEFPUSHBUTTON "OK",IDOK,59,116,50,14,WS_GROUP
  48. PUSHBUTTON "Cancel",IDCANCEL,113,116,50,14
  49. LTEXT "This connection is available from the Network Connections folder.",
  50. IDC_STATIC,7,63,155,25
  51. LTEXT "Make this connection available for:",IDC_STATIC,7,7,155,
  52. 17
  53. END
  54. IDD_NOCHOICEUI DIALOG DISCARDABLE 0, 0, 170, 81
  55. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  56. CAPTION "My New Connection"
  57. FONT 8, "MS Shell Dlg"
  58. BEGIN
  59. CONTROL "A&dd a shortcut on the desktop",IDC_DESKTOP,"Button",
  60. WS_GROUP | BS_AUTOCHECKBOX | WS_TABSTOP,15,35,147,10
  61. DEFPUSHBUTTON "OK",IDOK,58,60,50,14,WS_GROUP
  62. PUSHBUTTON "Cancel",IDCANCEL,113,60,50,14
  63. LTEXT "This connection is available from the Network Connections folder.",
  64. IDC_STATIC,7,7,155,25
  65. END
  66. IDD_PRESHAREDKEY_PIN DIALOG DISCARDABLE 0, 0, 170, 81
  67. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  68. CAPTION "Enter PIN for Pre-shared Key"
  69. FONT 8, "MS Shell Dlg"
  70. BEGIN
  71. LTEXT "Enter the &PIN associated with this profile. If you enter the incorrect PIN, or click Cancel, the installation will be cancelled.",
  72. IDC_STATIC,7,7,155,25
  73. EDITTEXT IDC_PSK_PIN,7,35,155,14,ES_AUTOHSCROLL | ES_PASSWORD
  74. DEFPUSHBUTTON "OK",IDOK,58,60,50,14,WS_GROUP
  75. PUSHBUTTON "Cancel",IDCANCEL,113,60,50,14
  76. END
  77. /////////////////////////////////////////////////////////////////////////////
  78. //
  79. // String Table
  80. //
  81. STRINGTABLE DISCARDABLE
  82. BEGIN
  83. IDS_NO_SUPPORTFILES "The installation cannot continue because system files required to run this program are either missing or the wrong version. You must upgrade your operating system or install the latest version of Internet Explorer."
  84. IDS_CM_NOTPRESENT "You must install the Connection Manager program first."
  85. IDS_CMSTP_TITLE "Connection Manager Profile Installer"
  86. IDS_UNEXPECTEDERR "An error ocurred. Retry the profile installation."
  87. IDS_SUCCESS "Finished installing %s."
  88. IDS_CM_OLDVERSION "Installation of the service profile requires Connection Manager version %s, or later. Contact customer support for your service provider to obtain a service profile that contains the required version of Connection Manager or the required service pack."
  89. IDS_SHORTCUT_TO "Shortcut to"
  90. IDS_INUSE_MSG "Another instance of the Connection Manager Profile Installer is already running. Wait until the other installation is finished before beginning another one."
  91. IDS_UNINSTALL_PROMPT "Are you sure that you want to delete %s?"
  92. IDS_BINARY_NOT_ALPHA "Your processor architecture does not match the intended architecture of this program. Contact your system administrator for the correct version."
  93. IDS_REBOOT_MSG "You must restart your computer in order for these changes to take effect. Do you want to restart now?"
  94. IDS_NEWER_SAMENAME "Setup has detected that a newer version of ""%s"" already exists on this computer."
  95. IDS_UPGRADE_SAMENAME "Setup has detected an older version of ""%s"". Do you want to upgrade it?"
  96. IDS_GET_ADMIN "Setup has detected that an older version of ""%s"" already exists. Contact your administrator to perform the upgrade."
  97. IDS_CM_UNINST_PROMPT "Do you want to remove Connection Manager?"
  98. IDS_CM_UNINST_TITLE "Microsoft Connection Manager"
  99. IDS_CM_UNINST_SUCCESS "Connection Manager successfully removed."
  100. IDS_UNINSTCM_BOTH "Uninstalling Microsoft Connection Manager will render both the Microsoft Connection Manager Administration Kit and your installed Microsoft Connection Manager connections unusable. Are you sure you want to uninstall Microsoft Connection Manager?"
  101. IDS_UNINSTCM_WCM "Uninstalling Microsoft Connection Manager will render your installed Microsoft Connection Manager connections unusable. Are you sure you want to uninstall Microsoft Connection Manager?"
  102. IDS_UNINSTCM_WCMAK "Uninstalling Microsoft Connection Manager will render the Microsoft Connection Manager Administration Kit unusable. Are you sure you want to uninstall Microsoft Connection Manager?"
  103. IDS_INSTCM_WITH_OLD_CMAK "Installing the latest version of Microsoft Connection Manager will render your current version of Microsoft Connection Manager Administration Kit unusable. Are you sure you want to continue?"
  104. IDS_NEEDSERVICEPACK "Connection Manager has detected that your computer does not have the latest Connection Manager program files. The profile will continue to install, but in order to ensure proper operation of the profile, you should obtain the latest Windows Update."
  105. IDS_USAGE_MSG "Modes:\n\nProfile Install -- cmstp.exe [/ni /ns /nf /s /su /sd] <Full Path to Profile Inf>\nProfile Uninstall -- cmstp.exe /u [/s] <Full Path to Profile Inf>\nUninstall Connection Manager -- cmstp.exe /x [/s] <Full Path to CM Inf>\nHelp -- cmstp.exe /?\n\nLong Paths to Inf Files must be enclosed in double quotes (""). \n\n\nInstall Modifiers:\n\n/ni\tNo Desktop Icon (Windows 95, Windows 98, Windows Millennium, and Windows NT 4.0 only)\n/ns\tNo Windows 2000 Desktop Shortcut\n/nf\tSkip Support File Dependency Check\n/s\tSilent Install\n/su\tSingle User Install (Windows 2000 Only)\n/sd\tSet this connection as the IE default connection\n\nUninstall Modifiers:\n\n/s\tNo Uninstall Confirmation Prompt\n\nPlease see the Connection Manager Administration Kit documentation for\nfurther details about the usage of cmstp.exe."
  106. IDS_PROFILE_TOO_OLD "Please contact your System Administrator or Service Provider to obtain an updated version of this service profile. This version of the service profile is not supported by this version of Connection Manager or the Operating System."
  107. IDS_SAME_SS_DIFF_LS "The installation cannot continue because setup has detected that you have a filename conflict between the profile you are attempting to install, %s, and the already installed service %s. Both services are using the filename %s. Please contact your System Administrator or Internet Service Provider."
  108. IDS_SAME_LS_DIFF_SS "The installation cannot continue because setup has detected that you have a service name conflict between the profile you are attempting to install (%s) and the already installed service %s. Both services are using the Service Name %s. Please contact your System Administrator or Internet Service Provider."
  109. IDS_INSTALL_NOT_ALLOWED "You do not have sufficient permissions to create new connections. Please contact your System Administrator."
  110. IDS_CANNOT_INSTALL_CM "The network connection did not install because your user account does not have sufficient system privileges. Contact a computer administrator about installing this connection."
  111. IDS_WIN2K_CM_INSTALL_FAILED "The updated version of the Connection Manager software encountered an unexpected error and could not be installed. This connection might not function as designed. Contact a computer administrator about reinstalling this connection."
  112. IDS_CROSS_LANG_INSTALL "The installation cannot continue because this connection might not display in the language you expect. The version of Connection Manager included with this connection is for a different language than the default language installed with your operating system. Contact your computer administrator to acquire a language-appropriate connection."
  113. IDS_PSK_GOTTA_HAVE_IT "This profile cannot be installed without the correct PIN. The installation is cancelled. If you need a PIN, contact your System Administrator."
  114. IDS_PSK_INCORRECT_PIN "The installation cannot proceed. Either the PIN you provided is incorrect, or crytography is improperly configured on your machine. Check your CAPS LOCK key. If problems persist, contact your System Administrator."
  115. IDS_PSK_NEEDS_XP "This service profile installs an L2TP/IPSec connection that requires a pre-shared key. Your current system configuration does not support this type of connection. Contact your system administrator to obtain a version of this service profile that is appropriate for your system configuration."
  116. END
  117. /////////////////////////////////////////////////////////////////////////////
  118. //
  119. // custom resource - an inf file to be used to delete cmstp on downlevel platforms so we don't leave
  120. // it on the users system. Note that this inf contains no localizable strings.
  121. //
  122. IDT_REMCMSTP_INF REGINST "remcmstp.inf"