Leaked source code of windows server 2003
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.

163 lines
7.8 KiB

  1. #ifndef _STRINGS_H_
  2. #define _STRINGS_H_
  3. #include <strconst.h>
  4. #include <ntverp.h>
  5. // ********** R E G I S T R Y
  6. #define STR_REG_ADV_INFO "Software\\Microsoft\\Advanced INF Setup"
  7. #define STR_FILE_WAB "AddressBook"
  8. #define STR_FILE_OE "OutlookExpress"
  9. STR_GLOBAL(c_szOutlookNews, "Software\\Microsoft\\Office\\8.0\\Outlook\\Newsreader");
  10. STR_GLOBAL(c_szNewsPath, "NewsPath");
  11. STR_GLOBAL(c_szVERnone, "None");
  12. STR_GLOBAL(c_szVER1_0, "1.0");
  13. STR_GLOBAL(c_szVER1_1, "1.1");
  14. STR_GLOBAL(c_szVER4_0, "4.0x");
  15. STR_GLOBAL(c_szVER5B1, "5.0");
  16. STR_GLOBAL(c_szVER5_0, "5.x");
  17. STR_GLOBAL(c_szVER5B1old, "5.0 B1");
  18. STR_GLOBAL(c_szBLDnone, "0,00,0000,0");
  19. STR_GLOBAL(c_szBLD1_0, "1,00,0000,0");
  20. STR_GLOBAL(c_szBLD1_1, "1,01,0000,0");
  21. STR_GLOBAL(c_szBLD4_0, "4,72,2106,8");
  22. STR_GLOBAL(c_szBLD5B1, "5,00,518,0");
  23. // Only used in a pinch
  24. STR_GLOBAL(c_szBLDnew, "5,00,0809,0100");
  25. STR_GLOBAL(c_szRegProfiles, "Profiles");
  26. STR_GLOBAL(c_szReg50, "5.0");
  27. STR_GLOBAL(c_szRegMailPop3, "Mail\\POP3");
  28. STR_GLOBAL(c_szRegVerInfo, STR_REG_PATH_FLAT "\\Version Info");
  29. STR_GLOBAL(c_szRegSharedSetup, STR_REG_PATH_ROOT "\\Shared Settings\\Setup");
  30. STR_GLOBAL(c_szWABRegSharedSetup, STR_REG_WAB_ROOT "\\Shared Settings\\Setup");
  31. STR_GLOBAL(c_szRegNoBakInfo, "No Backup Info");
  32. STR_GLOBAL(c_szRegCurrVerMinor, "Current Minor");
  33. STR_GLOBAL(c_szRegAcctMgr, STR_REG_IAM_FLAT);
  34. STR_GLOBAL(c_szRegAcctMgrAccts, STR_REG_IAM_FLAT "\\Accounts");
  35. STR_GLOBAL(c_szRegWAB, STR_REG_WAB_FLAT);
  36. #define c_szQuickLaunchDir_LEN 41
  37. STR_GLOBAL(c_szQuickLaunchDir, "Microsoft\\Internet Explorer\\Quick Launch\\");
  38. STR_GLOBAL(c_szUserName, "UserName");
  39. STR_GLOBAL(c_szRegASetup, "Software\\Microsoft\\Active Setup\\Installed Components");
  40. STR_GLOBAL(c_szBackupPath, "BackupPath");
  41. STR_GLOBAL(c_szDesktop, "Desktop");
  42. STR_GLOBAL(c_szValueCommonDTop, "Common Desktop");
  43. STR_GLOBAL(c_szIsInstalled, "IsInstalled");
  44. STR_GLOBAL(c_szRegUninstall, STR_REG_WIN_ROOT "\\Uninstall");
  45. STR_GLOBAL(c_szRegUninstallWAB, "AddressBook");
  46. STR_GLOBAL(c_szQuietUninstall, "QuietUninstallString");
  47. STR_GLOBAL(c_szSettingsToLWP, "MigToLWP");
  48. STR_GLOBAL(c_szSettingsToLWPVer, "MigToLWPVer");
  49. STR_GLOBAL(c_szRegAdvInfoWAB, STR_REG_ADV_INFO "\\" STR_FILE_WAB);
  50. STR_GLOBAL(c_szRegAdvInfoOE, STR_REG_ADV_INFO "\\" STR_FILE_OE);
  51. STR_GLOBAL(c_szBackupRegPathName, "BackupRegPathName");
  52. STR_GLOBAL(c_szBackupFileName, "BackupFileName");
  53. STR_GLOBAL(c_szBackupDir, "BackupPath");
  54. STR_GLOBAL(c_szCommonFilesDir, "CommonFilesDir");
  55. STR_GLOBAL(c_szHKLM, "HKLM");
  56. STR_GLOBAL(c_szHKCU, "HKCU");
  57. STR_GLOBAL(c_szRegBackup, "RegBackup");
  58. STR_GLOBAL(c_szRequiresIESys, "RequiresIESysFile");
  59. STR_GLOBAL(c_szRequiresOESys, "RequiresOESysFile");
  60. STR_GLOBAL(c_szRequiresWABSys, "RequiresWABSysFile");
  61. STR_GLOBAL(c_szSMAccessories, "SM_AccessoriesName");
  62. STR_GLOBAL(c_szIEKey, STR_REG_PATH_IE);
  63. STR_GLOBAL(c_szIESetupKey, "Software\\Microsoft\\IE Setup\\SETUP");
  64. STR_GLOBAL(c_szIEInstallMode, "InstallMode");
  65. STR_GLOBAL(c_szDisableOLCheck, "DisableOL");
  66. STR_GLOBAL(c_szDisablePhoneCheck, "DisablePH");
  67. STR_GLOBAL(c_szLaunchWorks, "LaunchWorks");
  68. STR_GLOBAL(c_szLatestINF, "LatestINF");
  69. STR_GLOBAL(c_szLocale, "Locale");
  70. // ********** S T R I N G S
  71. // ++++ Command line Options
  72. STR_GLOBAL(c_szUninstallFlag, "/UNINSTALL");
  73. STR_GLOBAL(c_szInstallFlag, "/INSTALL");
  74. STR_GLOBAL(c_szUserFlag, "/USER");
  75. STR_GLOBAL(c_szPromptFlag, "/PROMPT");
  76. STR_GLOBAL(c_szAppFlag, "/APP");
  77. STR_GLOBAL(c_szCallerFlag, "/CALLER");
  78. STR_GLOBAL(c_szINIFlag, "/INI");
  79. STR_GLOBAL(c_szIconsFlag, "/ICONS");
  80. STR_GLOBAL(c_szOFF, "OFF");
  81. STR_GLOBAL(c_szAppOE, "OE");
  82. STR_GLOBAL(c_szAppWAB, "WAB");
  83. STR_GLOBAL(c_szIE50, "IE50");
  84. STR_GLOBAL(c_szWIN9X, "WIN9X");
  85. STR_GLOBAL(c_szWINNT, "WINNT");
  86. STR_GLOBAL(c_szArgTemplate, "/root,\"%s\"");
  87. STR_GLOBAL(c_szUnregFmt, "\"%s\\%s\" /unreg");
  88. STR_GLOBAL(c_szRegFmt, "\"%s\\%s\" /reg");
  89. STR_GLOBAL(c_szMigFmt, "%s /type:%s /src:%s /dst:default");
  90. STR_GLOBAL(c_szV1, "V5B1-V1");
  91. STR_GLOBAL(c_szV4, "V5B1-V4");
  92. // ++++ Filenames
  93. STR_GLOBAL(c_szMsimnInf, "msoe50.inf");
  94. STR_GLOBAL(c_szWABInf, "wab50.inf");
  95. STR_GLOBAL(c_szExplorer, "EXPLORER.EXE");
  96. STR_GLOBAL(c_szWABFindDll, "wabfind.dll");
  97. STR_GLOBAL(c_szWABFindDllIe3, "wabfind.ie3");
  98. STR_GLOBAL(c_szOldMainExe, "msimn.exe");
  99. STR_GLOBAL(c_szInetcomm, "inetcomm.dll");
  100. STR_GLOBAL(c_szInetres, "inetres.dll");
  101. STR_GLOBAL(c_szMsoeacct, "msoeacct.dll");
  102. STR_GLOBAL(c_szMsoert2, "msoert2.dll");
  103. STR_GLOBAL(c_szFileLog, "OEWABLog.txt");
  104. STR_GLOBAL(c_szWAB32, "wab32.dll");
  105. STR_GLOBAL(c_szWABEXE, "wab.exe");
  106. STR_GLOBAL(c_szMAILNEWS, "mailnews.dll");
  107. STR_GLOBAL(c_szWABComponent, STR_FILE_WAB);
  108. STR_GLOBAL(c_szOEComponent, STR_FILE_OE);
  109. STR_GLOBAL(c_szSlashWABComponent, "\\" STR_FILE_WAB);
  110. STR_GLOBAL(c_szPhoneExe, "msphone.exe");
  111. STR_GLOBAL(c_szOutlookExe, "outlook.exe");
  112. // ++++ msoe50inf sections
  113. STR_GLOBAL(c_szUserInstallSection, "User.Install");
  114. STR_GLOBAL(c_szUserInstallSectionOEOnXPSP1OrLater, "User.Install.WinXP.SP1OrLater");
  115. STR_GLOBAL(c_szMachineInstallSectionEx,"DefaultInstall_EX");
  116. STR_GLOBAL(c_szMachineInstallSection,"DefaultInstall");
  117. STR_GLOBAL(c_szNewUserRegSection, "New.User.Reg.Install");
  118. STR_GLOBAL(c_szRestoreV1WithWAB, "Restore.v1.InstallWithWAB");
  119. STR_GLOBAL(c_szRestoreV1, "Restore.v1.Install");
  120. STR_GLOBAL(c_szRegisterPermOCX, "DefaultInstall_PermRegister");
  121. STR_GLOBAL(c_szRegisterOCX, "DefaultInstall_Register");
  122. STR_GLOBAL(c_szUnRegisterOCX, "DefaultInstall_UnRegister");
  123. STR_GLOBAL(c_szGenInstallSection, "GenInstall");
  124. STR_GLOBAL(c_szStringSection, "Strings");
  125. // ++++ Misc
  126. STR_GLOBAL(c_szBackupSection, "backup");
  127. STR_GLOBAL(c_szINFSlash, "INF\\");
  128. STR_GLOBAL(c_szDotINI, ".INI");
  129. STR_GLOBAL(c_szStarIDX, "*.IDX");
  130. STR_GLOBAL(c_szDotDAT, ".DAT");
  131. #define c_szLinkFmt_LEN 4
  132. STR_GLOBAL(c_szLinkFmt, "%s.lnk");
  133. STR_GLOBAL(c_szLaunchFmt, "%s,%s,%s,%d");
  134. STR_GLOBAL(c_szFmtMapiMailExt, "%s.MAPIMail");
  135. STR_GLOBAL(c_szLaunchExFmt, "%s,%s,%s,%d");
  136. STR_GLOBAL(c_szMachineRevertFmt, "RevertTo_%s.Machine");
  137. STR_GLOBAL(c_szUserRevertFmt, "RevertTo_%s.User");
  138. STR_GLOBAL(c_szFileEntryFmt, "%s%s");
  139. STR_GLOBAL(c_szIE4Dir, "IE 4.0\\");
  140. STR_GLOBAL(c_szMailGuid, ".{89292102-4755-11cf-9DC2-00AA006C2B84}");
  141. STR_GLOBAL(c_szNewsGuid, ".{89292103-4755-11cf-9DC2-00AA006C2B84}");
  142. STR_GLOBAL(c_szOEGUID, "{44BBA840-CC51-11CF-AAFA-00AA00B6015C}");
  143. STR_GLOBAL(c_szWABGUID, "{7790769C-0471-11d2-AF11-00C04FA35D02}");
  144. STR_GLOBAL(c_szOLNEWSGUID, "{70F82C18-3D15-11d1-8596-00C04FB92601}");
  145. STR_GLOBAL(c_szMailSlash, "Mail\\");
  146. STR_GLOBAL(c_szBackedup, "20");
  147. STR_GLOBAL(c_szNotBackedup, "-1");
  148. STR_GLOBAL(c_szVersionOE, "VERSION_OE");
  149. STR_GLOBAL(c_szAccessoriesString, "STR_ACCESSORIES_GRP");
  150. #endif // _STRINGS_H_