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.

807 lines
27 KiB

  1. // --- From setupapi.h
  2. // Only good for NT5
  3. #define FLG_PROFITEM_CURRENTUSER 0x00000001
  4. #define FLG_PROFITEM_DELETE 0x00000002
  5. #define FLG_PROFITEM_GROUP 0x00000004
  6. // Derived values
  7. #define FLG_PROFITEM_DELETEUSER 0x00000003
  8. #define DIRID_PROGRAM_FILES 16422 // Program Files
  9. #define DIRID_PROGRAM_FILES_COMMON 16427 // Program Files\Common
  10. // --- END setupapi.h
  11. // --- INF copy flags
  12. #define FLG_INF_WARN_IF_TRY_SKIP 1
  13. #if defined(IE5) || defined(WIN9X)
  14. #define FLG_INF_NO_OVERWRITE_NEWER_NODLG 32
  15. #else
  16. // For NT5 always copy the file, even over newer bits
  17. #define FLG_INF_NO_OVERWRITE_NEWER_NODLG 4
  18. #endif
  19. // Derived values
  20. #if defined(IE5) || defined(WIN9X)
  21. #define FLG_INF_WARN_NO_OVERWRITE_NEWER_NODLG 33
  22. #else
  23. #define FLG_INF_WARN_NO_OVERWRITE_NEWER_NODLG 5
  24. #endif
  25. // --- END INF copy flags
  26. // Need to do this here instead of in strings as can't have ifdefs in string section
  27. #if defined(IE5)
  28. #define CALLER_STRING "/CALLER:IE50"
  29. #define INF_FILE "wab50.inf"
  30. #define INF_FILE_RAW wab50.inf
  31. #elif defined(WIN9X)
  32. #define CALLER_STRING "/CALLER:WIN9X"
  33. #define INF_FILE "wab9x50.inf"
  34. #define INF_FILE_RAW wab9x50.inf
  35. #else
  36. #define CALLER_STRING "/CALLER:WINNT"
  37. #define INF_FILE "wab50.inf"
  38. #define INF_FILE_RAW wab50.inf
  39. #endif
  40. // We only build the exe inf for IE5 not Win9X or NT5
  41. #if defined(OESETUP_EXE) && !defined(IE5)
  42. #error BUILDER Error: Can only build EXE flavour inf for IE5 target
  43. #endif
  44. #if defined(COPYPDB)
  45. #define IF_PDB(_expexp_) _expexp_
  46. #define IF_COPYPDB(_expexp_) _expexp_,,,FLG_INF_NO_OVERWRITE_NEWER_NODLG
  47. #else
  48. #define IF_PDB(_expexp_)
  49. #define IF_COPYPDB(_expexp_)
  50. #endif
  51. #if defined(X86)
  52. #define IF_X86(_expexp_) _expexp_
  53. #define IF_COPYX86(_expexp_) _expexp_,,,FLG_INF_NO_OVERWRITE_NEWER_NODLG
  54. #else
  55. #define IF_X86(_expexp_)
  56. #define IF_COPYX86(_expexp_)
  57. #endif
  58. [Version]
  59. SetupClass=Base
  60. #if defined(IE5) || defined(WIN9X)
  61. signature="$CHICAGO$"
  62. #endif
  63. #if defined(IE5)
  64. AdvancedINF=2.5
  65. #elif defined(WIN9X)
  66. LayoutFile=Layout.inf, layout1.inf, layout2.inf
  67. IEVersion="WAB_DOT_VERSION"
  68. #else
  69. signature="$Windows NT$"
  70. LayoutFile=layout.inf
  71. #endif
  72. #if defined(IE5) || defined(WIN9X)
  73. [CustomDestinationDirs]
  74. 49600,49601,49602,49603=ProgramFilesDir,5
  75. 49700,49701,49702,49703=AthenaDir,5
  76. #if defined(IE5)
  77. 49800,49801,49802,49803=CommonFilesDir,5
  78. 49850,49851,49852,49853=CommonSystemDir,5
  79. 49900,49901,49902,49903=ServicesDir,5
  80. 49930,49931,49932,49933=SharedFilesDir,5
  81. #endif
  82. [ProgramFilesDir]
  83. // Don't use DIRID_PROGRAM_FILES here as this line is not for NT5
  84. HKLM,"Software\Microsoft\Windows\CurrentVersion","ProgramFilesDir",,"%24%\%STR_PROGRAMF_DIR%"
  85. [AthenaDir]
  86. HKLM,"Software\Microsoft\Outlook Express","InstallRoot",,"%49601%\%STR_MAILNEWS_DIR%"
  87. #if defined(IE5)
  88. [CommonFilesDir]
  89. HKLM,"Software\Microsoft\Windows\CurrentVersion","CommonFilesDir",,"%49601%\%STR_COMMON_DIR%"
  90. [ServicesDir]
  91. HKLM,"Software\Microsoft\WAB","ServicesDir",,"%49801%\%STR_SERVICES_DIR%"
  92. [CommonSystemDir]
  93. HKLM,"Software\Microsoft\WAB","CommonSystemDir",,"%49801%\%STR_SYSTEM_DIR%"
  94. [SharedFilesDir]
  95. HKLM,"Software\Microsoft\Shared Tools","SharedFilesDir",,"%49801%\%STR_SHARED_DIR%"
  96. #endif
  97. #endif
  98. #if defined(IE5)
  99. [SourceDisksNames]
  100. 55="Address Book Files",,1
  101. [SourceDisksFiles]
  102. // Binaries
  103. msoeacct.dll=55
  104. msoert2.dll=55
  105. setup50.exe=55
  106. wab.exe=55
  107. wab32.dll=55
  108. wabfind.dll=55
  109. wabimp.dll=55
  110. wabmig.exe=55
  111. IF_X86(9xmig.dll=55)
  112. // Resource Dlls
  113. acctres.dll=55
  114. wab32res.dll=55
  115. // Misc
  116. msoeacct.hlp=55
  117. wab.chm=55
  118. wab.hlp=55
  119. INF_FILE_RAW=55
  120. // Service Logos
  121. bigfoot.bmp=55
  122. infospbz.bmp=55
  123. infospce.bmp=55
  124. verisign.bmp=55
  125. #if defined(OESETUP_EXE)
  126. // Identity manager files
  127. msident.dll=55
  128. msident.hlp=55
  129. msident.chm=55
  130. msidntld.dll=55
  131. #endif
  132. #elif defined(WIN9X)
  133. [BaseWinOptions]
  134. RegisterWAB
  135. [RegisterWAB]
  136. AddReg=Register.AddReg
  137. CopyFiles=file.copy.inf,file.copy.migdll
  138. [Optional Components]
  139. AddressBook
  140. [Memphis.Uninstall]
  141. AddReg=Uninstalled.Reg
  142. DelReg=Common.Add.Reg,Machine.Add.Reg,UnRegDlls
  143. DelFiles=file.copy.help,file.copy.common,file.copy.imn,file.copy.sources,file.copy.sys
  144. // Terrible hack of hacks...
  145. // In order to get an accurate Reboot prompt out of Memphis setup, it must do the file deletions
  146. // which means we can't runonce unreg the dlls
  147. [UnRegDlls]
  148. #include "msoeacct.reg"
  149. #include "wab32.reg"
  150. #include "wabimp.reg"
  151. #include "wabfind.reg"
  152. [Register.AddReg]
  153. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents","%COMPONENT%",,"%COMPONENT%"
  154. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\%COMPONENT%",INF,,"%INFFILE%"
  155. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\%COMPONENT%",Section,,"%COMPONENT%"
  156. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\%COMPONENT%",Installed,,"0"
  157. // Use a different INF file for Memphis
  158. HKLM,"Software\Microsoft\WAB\Version Info","LatestINF",,"%INFFILE%"
  159. #if !defined(X86)
  160. #error BUILDER ERROR or release of AXP Win9X?
  161. #endif
  162. // Wire in the migration dll
  163. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Migration\600","WAB Migration",,"%30001%\9xmig.dll,Migration,WAB5.0"
  164. [Installed.Reg]
  165. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\%COMPONENT%",Installed,,"1"
  166. [Uninstalled.Reg]
  167. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\%COMPONENT%",Installed,,"0"
  168. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","WAB_Uninstall_01",,""%30001%\setup50.exe" %APP% %CALLER% /UNINSTALL"
  169. [file.copy.migdll]
  170. 9xmig.dll,,,FLG_INF_NO_OVERWRITE_NEWER_NODLG
  171. #else
  172. [Installed.Reg]
  173. #endif
  174. [DestinationDirs]
  175. file.copy.help = 18
  176. file.copy.sys = 11
  177. file.del.old.help = 18
  178. file.del.help = 18
  179. file.del.win = 25
  180. file.del.sys.roll = 11
  181. #if defined(IE5)
  182. file.copy.sys.perm = 11
  183. file.copy.help.perm = 18
  184. file.copy.inf = 17
  185. file.copy.imn = 49700
  186. file.copy.permanent = 49700
  187. file.copy.common = 49850
  188. file.copy.sources = 49900
  189. #elif defined(WIN9X)
  190. file.copy.inf = 17
  191. file.copy.imn = 30000
  192. file.copy.permanent = 30000
  193. file.copy.migdll = 30000
  194. file.copy.common = 28730,%STR_SYSTEM_DIR%
  195. file.copy.sources = 28730,%STR_SERVICES_DIR%
  196. #else
  197. file.copy.imn = DIRID_PROGRAM_FILES,%STR_MAILNEWS_DIR%
  198. file.copy.permanent = DIRID_PROGRAM_FILES,%STR_MAILNEWS_DIR%
  199. file.copy.common = DIRID_PROGRAM_FILES_COMMON,%STR_SYSTEM_DIR%
  200. file.copy.sources = DIRID_PROGRAM_FILES_COMMON,%STR_SERVICES_DIR%
  201. #endif
  202. #if defined(IE5) || defined(WIN9X)
  203. [NoPrompt.AddReg]
  204. HKLM,"Software\Microsoft\Active Setup\Installed Components\%GUID%","DontAsk",0x00010001,2
  205. // Used for Unregister too - remember!
  206. [RegisterOCXSection]
  207. %11%\msoeacct.dll
  208. #if defined(IE5)
  209. %49851%\wab32.dll
  210. %49701%\wabimp.dll
  211. %49701%\wabfind.dll
  212. #else
  213. %28732%\%STR_SYSTEM_DIR%\wab32.dll
  214. %30001%\wabimp.dll
  215. %30001%\wabfind.dll
  216. #endif
  217. #if defined(IE5)
  218. [DefaultInstall_UnRegister]
  219. UnRegisterOCXs=RegisterOCXSection
  220. RequiredEngine=setupapi
  221. CustomDestination=CustomDestinationDirs
  222. #if defined(OESETUP_EXE)
  223. // These will never be unregistered
  224. [RegisterPermOCXSection]
  225. %11%\msident.dll
  226. #endif
  227. #endif
  228. [GenInstall]
  229. UpdateInis=del.links
  230. AddReg=NoPrompt.AddReg
  231. PerUserInstall=StubRemove
  232. DelFiles=file.del.help
  233. RequiredEngine=setupapi
  234. CustomDestination=CustomDestinationDirs
  235. // 61836 New feature, needs new LDID?
  236. [StubRemove]
  237. DisplayName=%STR_MS_WAB_5%
  238. GUID=%GUID%
  239. Locale=%STR_LANG%
  240. IsInstalled=0
  241. StubPath="""%49701%\setup50.exe"" %APP% %CALLER% /user /uninstall"
  242. #endif
  243. #if !defined(IE5)
  244. // Active Setup - Per user stub setup for OS's
  245. [User.Stub.50]
  246. HKLM,"Software\Microsoft\Active Setup\Installed Components\%GUID%",,,"%STR_MS_WAB_5%"
  247. HKLM,"Software\Microsoft\Active Setup\Installed Components\%GUID%","IsInstalled",0x10001,01,00,00,00
  248. //Version is applied later so we can detect prev ver on Win9X/NT
  249. //HKLM,"Software\Microsoft\Active Setup\Installed Components\%GUID%","Version",,"%VERSION%"
  250. HKLM,"Software\Microsoft\Active Setup\Installed Components\%GUID%","Locale",,"%STR_LANG%"
  251. HKLM,"Software\Microsoft\Active Setup\Installed Components\%GUID%","ComponentID",,"WAB"
  252. #if defined(WIN9X)
  253. HKLM,"Software\Microsoft\Active Setup\Installed Components\%GUID%","StubPath",,"""%30001%\setup50.exe"" %APP% %CALLER% /user /install"
  254. #else
  255. HKLM,"Software\Microsoft\Active Setup\Installed Components\%GUID%","StubPath",0x00020000,"""%ProgramFiles%\%STR_MAILNEWS_DIR%\setup50.exe"" %APP% %CALLER% /user /install"
  256. #endif
  257. #if defined(WIN9X)
  258. [AddressBook]
  259. ; optional component stuff
  260. OptionDesc=%STR_WAB%
  261. Tip=%STR_WAB_TIP%
  262. // Default to checked in compact (1) + typical (2) + portable (4) + custom (8) = 15
  263. InstallType=15
  264. IconIndex=101
  265. Uninstall=Memphis.Uninstall
  266. #else
  267. [DefaultInstall]
  268. #endif
  269. DelFiles=file.del.old.help, file.del.sys.roll, file.del.win
  270. CopyFiles=file.copy.help,file.copy.common,file.copy.imn,file.copy.sources,file.copy.sys,file.copy.permanent
  271. AddReg=Common.Add.Reg,No.Uninstall.Add.Reg,RunOnce.Reg,User.Stub.50,Machine.Add.Reg,Installed.Reg
  272. DelReg=reg.del.perm,reg.del.roll,machine.del.reg
  273. #else
  274. [DefaultInstall]
  275. RequiredEngine=setupapi
  276. CustomDestination=CustomDestinationDirs
  277. CopyFiles=file.copy.inf,file.copy.permanent,file.copy.help.perm,file.copy.sys.perm
  278. DelReg=reg.del.perm,machine.del.reg
  279. AddReg=No.Uninstall.Add.Reg
  280. #if defined(OESETUP_EXE)
  281. RegisterOCXs=RegisterPermOCXSection
  282. #endif
  283. [DefaultInstall_EX]
  284. RequiredEngine=setupapi
  285. DelFiles=file.del.old.help, file.del.sys.roll, file.del.win
  286. DelReg=reg.del.roll
  287. CopyFiles=file.copy.help,file.copy.common,file.copy.imn,file.copy.sources,file.copy.sys
  288. AddReg=Common.Add.Reg,Machine.Add.Reg
  289. CustomDestination=CustomDestinationDirs
  290. PerUserInstall=StubSetup
  291. PreRollBack=GenInstall
  292. // If you change this name, you need to change setup/wizard/strings.h
  293. ComponentName="AddressBook"
  294. ComponentVersion=6.0
  295. [DefaultInstall_PermRegister]
  296. [DefaultInstall_Register]
  297. RequiredEngine=setupapi
  298. CustomDestination=CustomDestinationDirs
  299. RegisterOCXs=RegisterOCXSection
  300. [StubSetup]
  301. DisplayName=%STR_MS_WAB_5%
  302. GUID=%GUID%
  303. Version=%VERSION%
  304. Locale=%STR_LANG%
  305. IsInstalled=1
  306. StubPath="""%49701%\setup50.exe"" %APP% %CALLER% /user /install"
  307. RollbackUninstall=1
  308. [RegisterOCX_4.0x]
  309. %49851%\wab32.dll
  310. %49701%\wabimp.dll
  311. %49701%\wabfind.dll
  312. %11%\msoeacct.dll
  313. [RevertTo_4.0x.Machine]
  314. RequiredEngine=Setupapi
  315. CustomDestination=CustomDestinationDirs
  316. RegisterOCXs=RegisterOCX_4.0x
  317. [RevertTo_1.1.Machine]
  318. [RevertTo_1.0.Machine]
  319. [RevertTo_None.Machine]
  320. [RevertTo_4.0x.User]
  321. RequiredEngine=Setupapi
  322. CustomDestination=CustomDestinationDirs
  323. UpdateInis=del.links, Create.links.RevertTo_4.0x
  324. [RevertTo_1.1.User]
  325. RequiredEngine=Setupapi
  326. CustomDestination=CustomDestinationDirs
  327. UpdateInis=del.links, Create.links.RevertTo_1.0
  328. [RevertTo_1.0.User]
  329. RequiredEngine=Setupapi
  330. CustomDestination=CustomDestinationDirs
  331. UpdateInis=del.links
  332. [RevertTo_None.User]
  333. RequiredEngine=Setupapi
  334. CustomDestination=CustomDestinationDirs
  335. UpdateInis=del.links
  336. [Create.links.RevertTo_4.0x]
  337. setup.ini, progman.groups,,"WAB_R4_1="%STR_INTERNET_GRP%""
  338. setup.ini, WAB_R4_1,,"""%STR_WAB%"", """"""%49700%\wab.exe"""""""
  339. [Create.links.RevertTo_1.0]
  340. // restoring old links if any
  341. setup.ini, progman.groups,,"WAB_R1_1="%BLANK%""
  342. setup.ini, WAB_R1_1,, """%STR_WAB%"", ""%25%\wab.exe"""
  343. [file.copy.help.perm]
  344. #if defined(OESETUP_EXE)
  345. msident.hlp
  346. msident.chm
  347. #endif
  348. [file.copy.sys.perm]
  349. #if defined(OESETUP_EXE)
  350. msident.dll,,,FLG_INF_WARN_NO_OVERWRITE_NEWER_NODLG
  351. msidntld.dll,,,FLG_INF_WARN_NO_OVERWRITE_NEWER_NODLG
  352. #endif
  353. #endif
  354. [User.Install]
  355. #if defined(IE5) || defined(WIN9X)
  356. UpdateInis=del.links.old,Create.links.nt
  357. #if defined(IE5)
  358. RequiredEngine=setupapi
  359. CustomDestination=CustomDestinationDirs
  360. #endif
  361. #else
  362. ProfileItems=SM.Create.WAB,SM.Delete.Old1,SM.Delete.Old1.All,SM.Delete.Old2,SM.Delete.Old2.All,SM.Delete.Old3,SM.Delete.Old3.All,SM.Delete.Old4,SM.Delete.Old4.All,SM.Delete.Old5,SM.Delete.Old5.All
  363. #endif
  364. [file.del.win]
  365. // Keep this around for OS's to sniff
  366. #if defined(IE5)
  367. wab.exe
  368. #endif
  369. wabmig.exe
  370. [file.del.old.help]
  371. wab.cnt
  372. wab.gid
  373. inetcomm.hlp
  374. inetcomm.cnt
  375. inetcomm.gid
  376. conn_oe.hlp
  377. conn_oe.cnt
  378. [file.copy.help]
  379. wab.hlp
  380. wab.chm
  381. msoeacct.hlp
  382. // these get generated when help is used, so we clean them up at uninstall time
  383. [file.del.help]
  384. wab.gid
  385. [file.del.sys.roll]
  386. // Keep this around for OS's to sniff
  387. #if defined(IE5)
  388. wab32.dll
  389. #endif
  390. wabfind.dll
  391. wabimp.dll
  392. //msoert.dll - can't take this in case OE goes back to 4.0x while WAB at 5.0
  393. [file.copy.permanent]
  394. setup50.exe,,,FLG_INF_WARN_NO_OVERWRITE_NEWER_NODLG
  395. #if defined(IE5) || defined(WIN9X)
  396. IF_COPYX86(9xmig.dll)
  397. #endif
  398. [file.copy.common]
  399. wab32res.dll,,,FLG_INF_WARN_NO_OVERWRITE_NEWER_NODLG
  400. wab32.dll,,,FLG_INF_WARN_NO_OVERWRITE_NEWER_NODLG
  401. [file.copy.imn]
  402. wabimp.dll,,,FLG_INF_NO_OVERWRITE_NEWER_NODLG
  403. wabfind.dll,,,FLG_INF_WARN_NO_OVERWRITE_NEWER_NODLG
  404. wabmig.exe,,,FLG_INF_NO_OVERWRITE_NEWER_NODLG
  405. wab.exe,,,FLG_INF_WARN_NO_OVERWRITE_NEWER_NODLG
  406. [file.copy.sources]
  407. verisign.bmp
  408. bigfoot.bmp
  409. whowhere.bmp
  410. [file.copy.sys]
  411. msoeacct.dll,,,FLG_INF_WARN_NO_OVERWRITE_NEWER_NODLG
  412. acctres.dll,,,FLG_INF_WARN_NO_OVERWRITE_NEWER_NODLG
  413. msoert2.dll,,,FLG_INF_WARN_NO_OVERWRITE_NEWER_NODLG
  414. #if defined(IE5) || defined(WIN9X)
  415. [file.copy.inf]
  416. INF_FILE_RAW
  417. #endif
  418. [reg.del.perm]
  419. HKLM,Software\Microsoft\Windows\CurrentVersion\shareddlls,"%11%\wab32.dll"
  420. [reg.del.roll]
  421. // V1
  422. HKCR,CLSID\{32714800-2E5F-11d0-8B85-00AA0044F941},,,%STR_FIND_PEOPLE%
  423. HKCR,CLSID\{32714800-2E5F-11d0-8B85-00AA0044F941}\InProcServer32,,,"%11%\wabfind.dll"
  424. HKCR,CLSID\{32714800-2E5F-11d0-8B85-00AA0044F941}\InProcServer32,"ThreadingModel",,"Apartment"
  425. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\FindExtensions\Static\WabFind,,,"{32714800-2E5F-11d0-8B85-00AA0044F941}"
  426. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\FindExtensions\Static\WabFind\0,,,%STR_PEOPLE%
  427. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\FindExtensions\Static\WabFind\0\DefaultIcon,,,"%11%\wabfind.dll, 0"
  428. [Common.Add.Reg]
  429. HKLM,"SOFTWARE\Microsoft\Outlook Express","MediaVer",,"%VERSION%"
  430. #if defined(IE5)
  431. HKLM,"Software\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\AddressBook",Installed,,"1"
  432. HKLM,"SOFTWARE\Microsoft\Outlook Express","Media",,"Web"
  433. // uninstall is supported for IE5 but not NT5
  434. // Keep "AddressBook" in sync with strings.h, c_szRegUninstallWAB
  435. // 4.71.1712.6 = 4.00, 4.72.2106.8 = 4.01
  436. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\AddressBook",RequiresIESysFile,,"6.0"
  437. //HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\AddressBook",DisplayName,,"%STR_MS_WAB_5%"
  438. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\%COMPONENT%",UninstallString,,"""%49701%\setup50.exe"" %APP% %CALLER% /UNINSTALL /PROMPT"
  439. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\%COMPONENT%",QuietUninstallString,,"""%49701%\setup50.exe"" %APP% %CALLER% /UNINSTALL"
  440. HKLM,"Software\Microsoft\Outlook Express","InstallRoot",,"%49701%"
  441. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\wab.exe",,,"%49701%\wab.exe"
  442. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\wab.exe",Path,,%49701%
  443. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\wabmig.exe",,,"%49701%\wabmig.exe"
  444. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\wabmig.exe",Path,,"%49701%"
  445. #else // !IE5
  446. // we have to create this key or active setup deletes our installed components reg key
  447. // i have no idea why...
  448. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\AddressBook"
  449. #if defined(WIN9X)
  450. HKLM,"SOFTWARE\Microsoft\Outlook Express","Media",,"Win9X"
  451. // Need this info so OE can attempt to uninstall WAB
  452. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\%COMPONENT%",UninstallString,,"""%30001%\setup50.exe"" %APP% %CALLER% /UNINSTALL /PROMPT"
  453. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\%COMPONENT%",QuietUninstallString,,"""%30001%\setup50.exe"" %APP% %CALLER% /UNINSTALL"
  454. HKLM,"Software\Microsoft\Outlook Express","InstallRoot",,"%30001%"
  455. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\wab.exe",,,"%30001%\wab.exe"
  456. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\wab.exe",Path,,%30001%
  457. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\wabmig.exe",,,"%30001%\wabmig.exe"
  458. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\wabmig.exe",Path,,"%30001%"
  459. #else
  460. HKLM,"SOFTWARE\Microsoft\Outlook Express","Media",,"NT"
  461. HKLM,"Software\Microsoft\Outlook Express","InstallRoot",0x00020000,"%ProgramFiles%\%STR_MAILNEWS_DIR%"
  462. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\wab.exe",,0x00020000,"%ProgramFiles%\%STR_MAILNEWS_DIR%\wab.exe"
  463. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\wab.exe",Path,0x00020000,"%ProgramFiles%\%STR_MAILNEWS_DIR%"
  464. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\wabmig.exe",,0x00020000,"%ProgramFiles%\%STR_MAILNEWS_DIR%\wabmig.exe"
  465. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\wabmig.exe",Path,0x00020000,"%ProgramFiles%\%STR_MAILNEWS_DIR%"
  466. #endif
  467. #endif
  468. [No.Uninstall.Add.Reg]
  469. #if defined(IE5)
  470. #if defined(X86)
  471. // Wire in the migration dll
  472. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Migration\600","WAB Migration",,"%49701%\9xmig.dll,Migration,WAB5.0"
  473. #endif
  474. HKLM,"Software\Microsoft\Windows\CurrentVersion","ProgramFilesDir",2,"%49601%"
  475. HKLM,"Software\Microsoft\Windows\CurrentVersion","CommonFilesDir",2,"%49801%"
  476. HKLM,SOFTWARE\Microsoft\WAB\DLLPath,,,"%49851%\wab32.dll"
  477. #elif defined(WIN9X)
  478. // Migration dll setup done at component registration time
  479. HKLM,"Software\Microsoft\Windows\CurrentVersion","ProgramFilesDir",2,"%28701%"
  480. HKLM,"Software\Microsoft\Windows\CurrentVersion","CommonFilesDir",2,"%28730%"
  481. HKLM,SOFTWARE\Microsoft\WAB\DLLPath,,,"%28730%\%STR_SYSTEM_DIR%\wab32.dll"
  482. #else
  483. // wab32.dll
  484. HKLM,"Software\Microsoft\Windows\CurrentVersion","ProgramFilesDir",0x00020002,"%ProgramFiles%"
  485. HKLM,"Software\Microsoft\Windows\CurrentVersion","CommonFilesDir",0x00020002,"%ProgramFiles%\%STR_COMMON_DIR%"
  486. HKLM,SOFTWARE\Microsoft\WAB\DLLPath,,0x00020000,"%ProgramFiles%\%STR_COMMON_DIR%\%STR_SYSTEM_DIR%\wab32.dll"
  487. #endif
  488. [Machine.Del.Reg]
  489. // Cleanup interim builds
  490. HKLM,"%FORCEFUL_KEY%\Bigfoot","Shared"
  491. HKLM,"%FORCEFUL_KEY%\VeriSign","Shared"
  492. [Machine.Add.Reg]
  493. // Preconfigured LDAP Servers
  494. // 1 = Beta2
  495. HKLM,"%FORCEFUL_KEY%","PreConfigVer",0x10001,04,00,00,00
  496. // BUGBUG: This should be done in code for future releases
  497. // NTDS account: NT5 or WABINST.EXE
  498. #if (defined(IE5) && defined(OESETUP_EXE)) || (!defined(IE5) && !defined(WIN9X))
  499. HKLM,"%FORCEFUL_KEY%","PreConfigVerNTDS",0x10001,01,00,00,00
  500. HKLM,"%FORCEFUL_KEY%\Active Directory GC","Account Name",,"Active Directory"
  501. HKLM,"%FORCEFUL_KEY%\Active Directory GC","LDAP Server",,"NULL"
  502. HKLM,"%FORCEFUL_KEY%\Active Directory GC","LDAP Search Return",0x10001,0x64
  503. HKLM,"%FORCEFUL_KEY%\Active Directory GC","LDAP Timeout",0x10001,0x3c
  504. HKLM,"%FORCEFUL_KEY%\Active Directory GC","LDAP Authentication",0x10001,2
  505. HKLM,"%FORCEFUL_KEY%\Active Directory GC","LDAP Simple Search",0x10001,0
  506. HKLM,"%FORCEFUL_KEY%\Active Directory GC","LDAP Bind DN",0x10001,0
  507. HKLM,"%FORCEFUL_KEY%\Active Directory GC","LDAP Port",0x10001,3268
  508. HKLM,"%FORCEFUL_KEY%\Active Directory GC","LDAP Resolve Flag",0x10001,1
  509. HKLM,"%FORCEFUL_KEY%\Active Directory GC","LDAP Secure Connection",0x10001,0
  510. HKLM,"%FORCEFUL_KEY%\Active Directory GC","LDAP User Name",,"NULL"
  511. HKLM,"%FORCEFUL_KEY%\Active Directory GC","LDAP Search Base",,"NULL"
  512. #endif
  513. // Bigfoot
  514. HKLM,"%FORCEFUL_KEY%\Bigfoot","Account Name",,"%STR_BIGFOOT%"
  515. HKLM,"%FORCEFUL_KEY%\Bigfoot","LDAP Server",,"ldap.bigfoot.com"
  516. HKLM,"%FORCEFUL_KEY%\Bigfoot","LDAP URL",,"http://www.bigfoot.com"
  517. HKLM,"%FORCEFUL_KEY%\Bigfoot","LDAP Search Return",0x10001,0x64
  518. HKLM,"%FORCEFUL_KEY%\Bigfoot","LDAP Timeout",0x10001,0x3c
  519. HKLM,"%FORCEFUL_KEY%\Bigfoot","LDAP Authentication",0x10001,0
  520. HKLM,"%FORCEFUL_KEY%\Bigfoot","LDAP Simple Search",0x10001,1
  521. #if defined(IE5)
  522. HKLM,"%FORCEFUL_KEY%\Bigfoot","LDAP Logo",,"%49901%\bigfoot.bmp"
  523. #elif defined(WIN9X)
  524. HKLM,"%FORCEFUL_KEY%\Bigfoot","LDAP Logo",,"%28730%\%STR_SERVICES_DIR%\bigfoot.bmp"
  525. #else
  526. HKLM,"%FORCEFUL_KEY%\Bigfoot","LDAP Logo",0x00020000,"%ProgramFiles%\%STR_COMMON_DIR%\%STR_SERVICES_DIR%\bigfoot.bmp"
  527. #endif
  528. // VeriSign
  529. HKLM,"%FORCEFUL_KEY%\VeriSign","Account Name",,"%STR_VERISIGN%"
  530. HKLM,"%FORCEFUL_KEY%\VeriSign","LDAP Server",,"directory.verisign.com"
  531. HKLM,"%FORCEFUL_KEY%\VeriSign","LDAP URL",,"http://www.verisign.com"
  532. HKLM,"%FORCEFUL_KEY%\VeriSign","LDAP Search Return",0x10001,0x64
  533. HKLM,"%FORCEFUL_KEY%\VeriSign","LDAP Timeout",0x10001,0x3c
  534. HKLM,"%FORCEFUL_KEY%\VeriSign","LDAP Authentication",0x10001,0
  535. HKLM,"%FORCEFUL_KEY%\VeriSign","LDAP Search Base",,"NULL"
  536. HKLM,"%FORCEFUL_KEY%\VeriSign","LDAP Simple Search",0x10001,1
  537. #if defined(IE5)
  538. HKLM,"%FORCEFUL_KEY%\VeriSign","LDAP Logo",,"%49901%\verisign.bmp"
  539. #elif defined(WIN9X)
  540. HKLM,"%FORCEFUL_KEY%\VeriSign","LDAP Logo",,"%28730%\%STR_SERVICES_DIR%\verisign.bmp"
  541. #else
  542. HKLM,"%FORCEFUL_KEY%\VeriSign","LDAP Logo",0x00020000,"%ProgramFiles%\%STR_COMMON_DIR%\%STR_SERVICES_DIR%\verisign.bmp"
  543. #endif
  544. [RunOnce.Reg]
  545. #if !defined(IE5)
  546. // Enable RunOnceEx (for insta-install)
  547. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","RunOnceEx",2,"rundll32.exe %11%\iernonce.dll,RunOnceExProcess"
  548. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnceEx\OEWAB OS Setup","WAB5_4",0,"%11%\msoeacct.dll|DllRegisterServer"
  549. #if defined(WIN9X)
  550. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnceEx\OEWAB OS Setup","WAB5_1",0,"%28732%\%STR_SYSTEM_DIR%\wab32.dll|DllRegisterServer"
  551. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnceEx\OEWAB OS Setup","WAB5_2",0,"%30001%\wabimp.dll|DllRegisterServer"
  552. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnceEx\OEWAB OS Setup","WAB5_3",0,"%30001%\wabfind.dll|DllRegisterServer"
  553. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnceEx\OEWAB OS Setup","OEWABOS_1",0,"""%30001%\setup50.exe"" %APP% %CALLER% /INSTALL"
  554. #else
  555. // Can't use DIRID_PROGRAM_FILES (16422) / DIRID_PROGRAM_FILES_COMMON (16427) as it won't be replaced in a string
  556. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnceEx\OEWAB OS Setup","WAB5_1",0,"%16427%\%STR_SYSTEM_DIR%\wab32.dll|DllRegisterServer"
  557. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnceEx\OEWAB OS Setup","WAB5_2",0,"%16422%\%STR_MAILNEWS_DIR%\wabimp.dll|DllRegisterServer"
  558. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnceEx\OEWAB OS Setup","WAB5_3",0,"%16422%\%STR_MAILNEWS_DIR%\wabfind.dll|DllRegisterServer"
  559. HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnceEx\OEWAB OS Setup","OEWABOS_1",0,"""%16422%\%STR_MAILNEWS_DIR%\setup50.exe"" %APP% %CALLER% /INSTALL"
  560. #endif
  561. #endif // !IE5
  562. #if defined(IE5) || defined(WIN9X)
  563. [Create.links.nt]
  564. setup.ini, progman.groups,,"WAB_5_1="%STR_ACCESSORIES_GRP%""
  565. #if defined(IE5)
  566. setup.ini, WAB_5_1,,"""%STR_WAB%"", """"""%49700%\wab.exe"""""",,,,,,""%STR_WAB_SM_TIP%"""
  567. #else
  568. setup.ini, WAB_5_1,,"""%STR_WAB%"", """"""%30000%\wab.exe"""""",,,,,,""%STR_WAB_SM_TIP%"""
  569. #endif // IE5
  570. [del.links.old]
  571. setup.ini, progman.groups,,"WAB_OLD_1="%BLANK%""
  572. setup.ini, WAB_OLD_1,,"""%STR_WAB%"""
  573. setup.ini, WAB_OLD_1,,"""%STR_WAB_OLD%"""
  574. setup.ini, progman.groups,,"WAB_OLD_2="%STR_INTERNET_GRP%""
  575. setup.ini, WAB_OLD_2,,"""%STR_WAB%"""
  576. setup.ini, progman.groups,,"WAB_OLD_3="%STR_ACCESSORIES_GRP%""
  577. setup.ini, WAB_OLD_3,,"""%STR_WAB_OLD%"""
  578. setup.ini, progman.groups,,"WAB_OLD_4="%STR_ACCESSORIES%""
  579. setup.ini, WAB_OLD_4,,"""%STR_WAB_OLD%"""
  580. [del.links]
  581. setup.ini, progman.groups,,"WAB_U5_1="%STR_ACCESSORIES_GRP%""
  582. setup.ini, WAB_U5_1,,"""%STR_WAB%"""
  583. #else
  584. [SM.Create.WAB]
  585. Name = %STR_WAB%,FLG_PROFITEM_CURRENTUSER
  586. SubDir = %STR_ACCESSORIES_NT5_GRP%
  587. CmdLine = DIRID_PROGRAM_FILES, %STR_MAILNEWS_DIR%, wab.exe
  588. InfoTip = %STR_WAB_SM_TIP%
  589. // OE5.01 Bug 73182
  590. // Delete "all user" variants in case they got migrated there
  591. [SM.Delete.Old1]
  592. Name = %STR_WAB%,FLG_PROFITEM_DELETEUSER
  593. [SM.Delete.Old1.All]
  594. Name = %STR_WAB%,FLG_PROFITEM_DELETE
  595. [SM.Delete.Old2]
  596. Name = %STR_WAB_OLD%,FLG_PROFITEM_DELETEUSER
  597. [SM.Delete.Old2.All]
  598. Name = %STR_WAB_OLD%,FLG_PROFITEM_DELETE
  599. [SM.Delete.Old3]
  600. Name = %STR_WAB%,FLG_PROFITEM_DELETEUSER
  601. SubDir = %STR_INTERNET_GRP%
  602. [SM.Delete.Old3.All]
  603. Name = %STR_WAB%,FLG_PROFITEM_DELETE
  604. SubDir = %STR_INTERNET_GRP%
  605. [SM.Delete.Old4]
  606. Name = %STR_WAB_OLD%,FLG_PROFITEM_DELETEUSER
  607. SubDir = %STR_ACCESSORIES_GRP%
  608. [SM.Delete.Old4.All]
  609. Name = %STR_WAB_OLD%,FLG_PROFITEM_DELETE
  610. SubDir = %STR_ACCESSORIES_GRP%
  611. [SM.Delete.Old5]
  612. Name = %STR_WAB_OLD%,FLG_PROFITEM_DELETEUSER
  613. SubDir = %STR_ACCESSORIES%
  614. [SM.Delete.Old5.All]
  615. Name = %STR_WAB_OLD%,FLG_PROFITEM_DELETE
  616. SubDir = %STR_ACCESSORIES%
  617. #endif
  618. // **** NOTE ****
  619. // Don't use compiler directives or C/C++ comments in the strings section because LocStudio will choke
  620. // If localizers shouldn't bother reading your comment, put (DEV Comment) in front of it
  621. // **** NOTE ****
  622. [Strings]
  623. ; Directories
  624. ; C:\Program Files\"Common Files"
  625. STR_COMMON_DIR = "Common Files"
  626. ; C:\Windows\"desktop" or C:\Winnt\profiles\default user\"desktop"
  627. STR_DESKTOP_DIR = "Desktop"
  628. ; C:\Program Files\"Outlook Express"
  629. STR_MAILNEWS_DIR = "Outlook Express"
  630. ; C:\"Program Files"
  631. STR_PROGRAMF_DIR = "Program Files"
  632. ; C:\Program Files\Common Files\"Services"
  633. STR_SERVICES_DIR = "Services"
  634. ; C:\Program Files\Common Files\"Microsoft Shared"
  635. STR_SHARED_DIR = "Microsoft Shared"
  636. ; C:\Program Files\Common Files\"System"
  637. STR_SYSTEM_DIR = "System"
  638. ; Start Menu Groups
  639. STR_INTERNET_GRP = "Internet Explorer"
  640. ; (DEV Comment) May be altered at run-time (keep in sync with c_szAccessoriesString)
  641. STR_ACCESSORIES_GRP = "Accessories"
  642. ; Should be the same as STR_ACCESSORIES_GRP, except JPN which should be full-width
  643. STR_ACCESSORIES_NT5_GRP = "Accessories"
  644. ; Preconfigured Accounts
  645. STR_BIGFOOT = "Bigfoot Internet Directory Service"
  646. STR_INFOSPACE = "InfoSpace Internet Directory Service"
  647. STR_INFOSPACE_BUSINESS = "InfoSpace Business Directory Service"
  648. STR_SWITCHBOARD = "Switchboard Internet Directory Service"
  649. STR_VERISIGN = "VeriSign Internet Directory Service"
  650. STR_WHOWHERE = "WhoWhere Internet Directory Service"
  651. ; Misc
  652. STR_FIND_PEOPLE = "Find... People"
  653. STR_LANG = "EN"
  654. STR_MS_WAB_5 = "Address Book 6"
  655. STR_PEOPLE = "&People..."
  656. STR_WAB = "Address Book"
  657. STR_WAB_OLD = "Windows Address Book"
  658. ; (DEV Comment) Keep in sync with ASetup description
  659. STR_WAB_TIP = "Contact management and directory services."
  660. STR_WAB_SM_TIP = "Manages your contacts and finds people and businesses using directory services."
  661. ; Literal translation used to clean up incorrect icon placement
  662. STR_ACCESSORIES = "Accessories"
  663. ; do not localize
  664. APP = "/APP:WAB"
  665. BLANK = ""
  666. CALLER = CALLER_STRING
  667. COMPONENT = "AddressBook"
  668. FORCEFUL_KEY = "Software\Microsoft\Internet Account Manager\Preconfigured"
  669. GUID = "{7790769C-0471-11d2-AF11-00C04FA35D02}"
  670. INFFILE = INF_FILE
  671. ; (DEV Comment) Need version for Win9X and NT5
  672. VERSION = "WAB_VERSION"