home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 4.10 / 1999-04_Disc_4.10.bin / ELINK / MSIE4 / ICWNT.CAB / icwnt.inf < prev    next >
Windows Setup INFormation  |  1997-08-20  |  12KB  |  321 lines

  1.  
  2. ;==============================================================================================
  3. ; Internet Connection Wizard install script WinNT
  4. ;==============================================================================================
  5.  
  6. [version]
  7. signature="$CHICAGO$"
  8. AdvancedINF=2.5, "%ERROR_WRONG_ADVPACK_VERSION%"
  9.  
  10. [DefaultInstall.NT]
  11. RequiredEngine=Setupapi,"%ERROR_ENGINE_NOTFOUND%"
  12. SmartReboot= N
  13. CustomDestination= CustInstDestSection
  14. DelFiles=DeleteICW
  15. DelDirs=DeleteICWDir
  16. CopyFiles=CopySYS,CopyOTHER,CopyHELP,CopyNTOnly
  17. UpdateInis=UPD.Links
  18. AddReg=MSICW.RegEntries
  19. DelReg=MSICW.BadRegEntries
  20. RegisterOCXs=RegisterICWSection
  21. PerUserInstall=MSICW.Stub.Add
  22. ComponentName=ICW
  23. PreRollback=Uninstall.NT
  24. RunPostSetupCommands=MSICWPostSetupCommands:1
  25.  
  26. [MSICWPostSetupCommands]
  27. rundll32 advpack.dll,LaunchINFSection %49400%\icwnt.inf,MSInfInstall,3,n
  28.  
  29. [MSInfInstall]
  30. CopyFiles=CopyINF
  31.  
  32. [MSICW.Stub.Add]
  33. ComponentID=ICW_NTx86
  34. StubPath=rundll32.exe advpack.dll,LaunchINFSection %17%\icwnt.inf,PerUserStub
  35. GUID={5A8D6EE0-3E18-11D0-821E-444553540000}
  36. IsInstalled=1
  37. Locale=%LOCALE_ICW%
  38.  
  39. [PerUserStub]
  40. CustomDestination= CustInstDestSection
  41. UpdateInis=UPD.Links
  42.  
  43. [Uninstall.NT]
  44. PerUserInstall=MSICW.Stub.Remove
  45.  
  46. [MSICW.Stub.Remove]
  47. ComponentID=ICW_NTx86
  48. StubPath=rundll32.exe advpack.dll,LaunchINFSection %17%\icwnt.inf,PerUserRemove
  49. GUID={5A8D6EE0-3E18-11D0-821E-444553540000}
  50. IsInstalled=0
  51. Locale=%LOCALE_ICW%
  52.  
  53. [PerUserRemove]
  54. ;CustomDestination= CustInstDestSection
  55. UpdateInis=UPD.Links.Remove
  56.  
  57. ;==============================================================================================
  58. ; These are the directory specifications.
  59. ;==============================================================================================
  60. [CustInstDestSection]
  61. 49000,49001,49002,49003= ProgramFilesDir,5
  62. 49100,49101,49102,49103= MSIEFilesDir,7
  63. 49200,49201,49202,49203= MSICWFilesDir,5
  64. 49300,49301,49302,49303= OldICWDir,5
  65. 49400,49401,49402,49403= SourceDir
  66.  
  67. [ProgramFilesDir]
  68. HKLM,"%KEY_PROGRAM_FILES%",'ProgramFilesDir',,"%24%"
  69.  
  70. [MSIEFilesDir]
  71. HKLM,"%KEY_IEDIR%","Path","%IE_REQUIRED%",'%49001%\%IEDIR%'
  72.  
  73. [MSICWFilesDir]
  74. HKLM,"%KEY_ICW%",,,'%49101%\%MSICWDIR%'
  75.  
  76. [OldICWDir]
  77. HKLM,"%KEY_ICW%",,,"%49001%\%OLD_ICWDIR%"
  78.  
  79. [DestinationDirs]
  80. CopyHELP  = 18  ; LDID_HELP
  81. CopySYS   = 11  ; LDID_SYS
  82. CopyINF   = 17  ; LDID_INF
  83. CopyNTOnly  = 11        ; LDID_SYS
  84. CopyOTHER = 49200
  85. DeleteICW = 49300
  86.  
  87. ;==============================================================================================
  88. ; This is the RegisterOCXs section
  89. ;==============================================================================================
  90. [RegisterICWSection]
  91. %11%\inetcfg.dll
  92.  
  93. ;==============================================================================================
  94. ; These are the File Copy sections.
  95. ;==============================================================================================
  96. ; ---------------------------------------------------------------------------------------------
  97. ; These are the files copied as part of the default install.They are put in C:\Windows\System
  98. ; ---------------------------------------------------------------------------------------------
  99. [CopyNTOnly]
  100. icfgNT.dll,,,32
  101. [CopySYS]
  102. inetcfg.dll,,,32
  103. isign32.dll,,,32
  104. icwdial.dll,,,32
  105. icwphbk.dll,,,32
  106. ; ---------------------------------------------------------------------------------------------
  107. ; These are the files copied as part of the default install. They are put in:
  108. ; <User Install Directory>\Internet Explorer\Connection Wizard
  109. ; ---------------------------------------------------------------------------------------------
  110. [CopyOTHER]
  111. icwconn1.exe,,,32
  112. icwconn2.exe,,,32
  113. inetwiz.exe,,,32
  114. isignup.exe,,,32
  115. icwdl.dll,,,32
  116. icwx25a.dun
  117. icwx25b.dun
  118. icwx25c.dun
  119. icwip.dun
  120. phone.icw
  121. state.icw
  122. msicw.isp
  123. msn.isp
  124. readme.txt
  125. support.icw
  126. ; ---------------------------------------------------------------------------------------------
  127. ; These are the files copied as part of the default install. They are put in C:\Windows\INF
  128. ; ---------------------------------------------------------------------------------------------
  129. [CopyINF]
  130. icwNT.INF
  131. ; ---------------------------------------------------------------------------------------------
  132. ; These are the files copied as part of the default install. They are put in C:\Windows\Help
  133. ; ---------------------------------------------------------------------------------------------
  134. [CopyHELP]
  135. connect.hlp
  136. connect.cnt
  137.  
  138. ;==============================================================================================
  139. ; These are the File Delete sections.
  140. ;==============================================================================================
  141. ; ---------------------------------------------------------------------------------------------
  142. ; These are the files deleted as part of the default install.  This removes previous versions
  143. ; of the Internet Connection Wizard.
  144. ; ---------------------------------------------------------------------------------------------
  145. [DeleteICWDir]
  146. %49300%
  147.  
  148. [DeleteICW]
  149. icwconn1.exe
  150. icwconn2.exe
  151. inetwiz.exe
  152. isignup.exe
  153. icwdl.dll
  154. icwx25a.dun
  155. icwx25b.dun
  156. icwx25c.dun
  157. icwip.dun
  158. phone.icw
  159. state.icw
  160. msicw.isp
  161. msn.isp
  162. support.icw
  163.  
  164. ;==============================================================================================
  165. ; These are the Source sections which tell the setup engine where the appropriate files are.
  166. ;==============================================================================================
  167. [SourceDisksNames]
  168. 55="%ICWNAME%",icwNT.cab,0
  169.  
  170. [SourceDisksFiles]
  171. icfgNT.dll=55
  172. inetcfg.dll=55
  173. isign32.dll=55
  174. icwdial.dll=55
  175. icwphbk.dll=55
  176. icwconn1.exe=55
  177. icwconn2.exe=55
  178. inetwiz.exe=55
  179. isignup.exe=55
  180. icwdl.dll=55
  181. icwx25a.dun=55
  182. icwx25b.dun=55
  183. icwx25c.dun=55
  184. icwip.dun=55
  185. phone.icw=55
  186. state.icw=55
  187. msicw.isp=55
  188. msn.isp=55
  189. icwNT.INF=55
  190. connect.hlp=55
  191. connect.cnt=55
  192. readme.txt=55
  193. support.icw=55
  194.  
  195. ;==============================================================================================
  196. ; This creates the Start Menu links.
  197. ;==============================================================================================
  198. [UPD.Links]
  199. setup.ini, progman.groups,,""ICW11=""%PGMGRP%""
  200. ; ICW item
  201. setup.ini, ICW11,,"""%PGMITEM_ICW%"",""""""%49200%\ICWCONN1.EXE"""""""
  202.  
  203. ; Delete obsolete start menu items
  204. setup.ini, progman.groups,,""ICW10=""%PGMDEL%""
  205. ; INETWIZ menu item
  206. setup.ini, ICW10,,""%ITEMDEL_INETWIZ%"",,,
  207. ; old ICW menu item
  208. setup.ini, ICW10,,""%ITEMDEL_GETON%"",,,
  209.  
  210. [UPD.Links.Remove]
  211. setup.ini, progman.groups,,"ICW11=""%PGMGRP%"""
  212. ; ICW item
  213. setup.ini, ICW11,,"""%PGMITEM_ICW%"""
  214.  
  215. ;==============================================================================================
  216. ; These are the Registry ADD sections.
  217. ;==============================================================================================
  218. [MSICW.RegEntries]
  219. ; ---------------------------------------------------------------------------------------------
  220. ; File associations
  221. HKCR,.ins,,0,x-internet-signup
  222. HKCR,.ins,"Content Type",0,application/x-internet-signup
  223. HKCR,.isp,,0,x-internet-signup
  224. HKCR,.isp,"Content Type",0,application/x-internet-signup
  225. ; ---------------------------------------------------------------------------------------------
  226. ; MIME execution options
  227. HKCR,x-internet-signup,,0,%INTERNET_COMMUNICATION_SETTINGS%
  228. HKCR,x-internet-signup,EditFlags,1,00,00,00,00
  229. HKCR,x-internet-signup\Shell,,0,""
  230. HKCR,x-internet-signup\Shell\Open,EditFlags,1,01,00,00,00
  231. HKCR,x-internet-signup\Shell\Open\command,,0,""""%49201%\ISIGNUP.EXE""" %%1"
  232. HKCR,x-internet-signup\DefaultIcon,,0,"%49201%\ICWCONN1.EXE,0"
  233. ; ---------------------------------------------------------------------------------------------
  234. ; MIME database extensions
  235. HKCR,"MIME\Database\Content Type\application/x-internet-signup",Extension,0,.ins
  236. ; ---------------------------------------------------------------------------------------------
  237. ;       Software Version
  238. HKLM,"%KEY_ICW%",Version,,"%Version%"
  239. HKLM,"%KEY_ICW%",InstallationDirectory,,"%49201%"
  240. ; ---------------------------------------------------------------------------------------------
  241. ; App Paths
  242. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN1.EXE",,,"%49201%\ICWCONN1.EXE"
  243. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN1.EXE","Path",,"%49201%;"
  244. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN2.EXE",,,"%49201%\ICWCONN2.EXE"
  245. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN2.EXE","Path",,"%49201%;"
  246. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ISIGNUP.EXE",,,"%49201%\ISIGNUP.EXE"
  247. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ISIGNUP.EXE","Path",,"%49201%;"
  248. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\INETWIZ.EXE",,,"%49201%\INETWIZ.EXE"
  249. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\INETWIZ.EXE","Path",,"%49201%;"
  250. ; ---------------------------------------------------------------------------------------------
  251. ; Release Product Information
  252. HKLM,"Software\Microsoft\Internet Connection Wizard","Release Product",,"IE"
  253. HKLM,"Software\Microsoft\Internet Connection Wizard","Release Product Version",,"4.0"
  254. ; ---------------------------------------------------------------------------------------------
  255. ; Uninstall command and minimum IE version
  256. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\ICW","QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSectionEx %17%\icwNT.inf,,,256"
  257. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\ICW","RequiresIESysFile",,"4.71"
  258. ; ---------------------------------------------------------------------------------------------
  259. ; Default product code
  260. HKLM,"Software\Microsoft\Internet Connection Wizard","Default Product Code",,"IE4"
  261. ; ---------------------------------------------------------------------------------------------
  262. ; Delete these reg keys, no one uses them.
  263. [MSICW.BadRegEntries]
  264. HKCR,.isp,EditFlags
  265. HKCR,.ins,EditFlags
  266.  
  267. [Strings]
  268. ;==============================================================================================
  269. ; Important - Be sure to place any localizable strings
  270. ; below the "Localization Border" Comment
  271. ;==============================================================================================
  272. KEY_ICW = "SOFTWARE\Microsoft\Internet Connection Wizard"
  273. KEY_OLD_ICW = "SOFTWARE\Microsoft\ICW"
  274. KEY_IEDIR = "SOFTWARE\Microsoft\IE4\Setup"
  275. KEY_PROGRAM_FILES = "SOFTWARE\Microsoft\Windows\CurrentVersion"
  276.  
  277. VALUE_ICW_INSTALL = "InstallationDirectory"
  278. Version = "1.10"
  279. ICWNAME = "Internet Connection Wizard"
  280.  
  281. ;==============================================================================================
  282. ; Localization Border
  283. ;
  284. ; No Strings above this line should be localized
  285. ; All strings below this line should be localized
  286. ;==============================================================================================
  287. ProgramFiles = "Program Files"
  288. IEDIR = "Internet Explorer"
  289. OLD_ICWDIR = "ICW-Internet Connection Wizard"
  290. MSICWDIR = "Connection Wizard"
  291.  
  292. ProgramFiles_SFN = "Progra~1" ; first 6 chars of Program Files, + "~1"
  293. IEDIR_SFN = "Intern~1"
  294. OLD_ICWDIR_SFN = "ICW-In~1"
  295. ICWDIR_SFN = "Connec~1"
  296.  
  297. ProgramFiles_SFN_OEM = "Progra~1" ; first 6 chars of Program Files, + "~1" - in OEM codepage (not ANSI)
  298. IEDIR_SFN_OEM = "Intern~1"
  299. OLD_ICWDIR_SFN_OEM = "ICW-In~1" ; uses OEM codepage (not ANSI)
  300. ICWDIR_SFN_OEM = "Connec~1" ; uses OEM codepage (not ANSI)
  301.  
  302. ;Program Folder and item names
  303. PGMGRP  = "Internet Explorer"
  304. PGMITEM_ICW     = "Connection Wizard"
  305. PGMDEL = "Accessories\Internet Tools"
  306. ITEMDEL_INETWIZ = "Internet Setup Wizard"
  307. ITEMDEL_GETON = "Get on the Internet"
  308.  
  309. ;Prompt for Destination
  310. INSTALL_DIR_PROMPT = "Please enter the directory in which to install the Internet Connection Wizard"
  311.  
  312. ;Error Messages
  313. ERROR_ENGINE_NOTFOUND = "Cannot find the requried setup engine. Aborting..."
  314. ERROR_WRONG_ADVPACK_VERSION = "You need a newer version of Advpack.dll"
  315. IE_REQUIRED = "You must have Internet Explorer v4.0 installed to run this package!"
  316.  
  317. ;Friendly name of file type
  318. INTERNET_COMMUNICATION_SETTINGS = "Internet Communication Settings"
  319.  
  320. LOCALE_ICW = "EN"
  321.