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.

213 lines
6.8 KiB

  1. ;==============================================================================================
  2. ; Internet Connection Wizard install script WinNT
  3. ;==============================================================================================
  4. ;#define REG_EXPAND_SZ 0x00020000
  5. [Version]
  6. signature="$Windows NT$"
  7. ClassGUID={00000000-0000-0000-0000-000000000000}
  8. SetupClass=Base
  9. LayoutFile=layout.inf
  10. ; Anything not installed by the system by default
  11. [DestinationDirs]
  12. Base.AppDir.CopyFile = 16422,%LMSIE4%\%ICW_DIR%
  13. Base.AppDir.DelFiles = 16422,%OLD_ICWDIR%
  14. Base.AppDir.30DelFiles = 16422,%LMSIE4%\%ICW_DIR%
  15. Base.AppIcon.DelIcon = 10,%ICW_DESKTOP%
  16. Base.SysDir.CopyFiles = 11
  17. Base.HelpDir.CopyFiles = 18
  18. [DefaultInstall]
  19. CopyFiles=Base.AppDir.CopyFile,Base.SysDir.CopyFiles,Base.HelpDir.CopyFiles
  20. AddReg=Base.ICW.AddReg
  21. DelReg=Base.ICW.DelReg
  22. DelFiles=Base.AppIcon.DelIcon, Base.AppDir.DelFiles, Base.AppDir.30DelFiles
  23. RegisterDlls=Base.RegSvr
  24. ProfileItems=ICW2.StartMenu.DelIcon, ICW3.StartMenu.DelIcon.1, ICW3.StartMenu.DelIcon.2, ICW4.StartMenu.DelIcon, ICW5.StartMenu.DelIcon
  25. ;========================
  26. ; ProfileItems
  27. ;========================
  28. [ICW2.StartMenu.DelIcon]
  29. Name = %ITEMDEL_ICW2%, 0x00000002
  30. SubDir = %PGMDEL%
  31. [ICW3.StartMenu.DelIcon.1]
  32. Name = %ITEMDEL_ICW3%, 0x00000002
  33. SubDir = %PGMDEL%
  34. [ICW3.StartMenu.DelIcon.2]
  35. Name = %ITEMDEL_ICW4%, 0x00000002
  36. SubDir = %PGMDEL%
  37. [ICW4.StartMenu.DelIcon]
  38. Name = %ITEMDEL_ICW4%, 0x00000002
  39. SubDir = %PGMDELIE4%
  40. [ICW5.StartMenu.DelIcon]
  41. Name = %PGMITEM_ICW%, 0x00000002
  42. SubDir = %PGMGRP%
  43. ;================================================
  44. ; Base Section
  45. ;================================================
  46. [Base.AppDir.CopyFile]
  47. icwconn1.exe,,,0x2020
  48. icwconn2.exe,,,0x2020
  49. inetwiz.exe,,,0x2020
  50. isignup.exe,,,0x2020
  51. icwtutor.exe,,,0x2020
  52. icwhelp.dll,,,0x2020
  53. icwconn.dll,,,0x2020
  54. icwutil.dll,,,0x2020
  55. icwres.dll,,,0x2020
  56. icwrmind.exe,,,0x2020
  57. trialoc.dll,,,0x2020
  58. icwdl.dll,,,0x2020
  59. icwx25a.dun,,,0x2000
  60. icwx25b.dun,,,0x2000
  61. icwx25c.dun,,,0x2000
  62. icwip.dun,,,0x2000
  63. phone.icw,,,0x2000
  64. phone.ver,,,0x2000
  65. state.icw,,,0x2000
  66. msicw.isp,,,0x2000
  67. msn.isp,,,0x2000
  68. support.icw,,,0x2000
  69. [Base.AppDir.CopyFile.Security]
  70. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)"
  71. [Base.SysDir.CopyFiles]
  72. icfgnt5.dll,,,32
  73. inetcfg.dll,,,32
  74. isign32.dll,,,32
  75. icwdial.dll,,,32
  76. icwphbk.dll,,,32
  77. [Base.SysDir.CopyFiles.Security]
  78. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  79. [Base.HelpDir.CopyFiles]
  80. connect.hlp
  81. connect.cnt
  82. icwdial.chm
  83. [Base.HelpDir.CopyFiles.Security]
  84. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)"
  85. ;========================
  86. ; Base DelFile
  87. ;========================
  88. [Base.AppIcon.DelIcon]
  89. Connec~1.lnk
  90. [Base.AppDir.DelFiles]
  91. icwconn1.exe
  92. icwconn2.exe
  93. inetwiz.exe
  94. isignup.exe
  95. icwdl.dll
  96. icwx25a.dun
  97. icwx25b.dun
  98. icwx25c.dun
  99. icwip.dun
  100. phone.icw
  101. state.icw
  102. msicw.isp
  103. msn.isp
  104. [Base.AppDir.30DelFiles]
  105. icwconn1.exe
  106. icwconn2.exe
  107. inetwiz.exe
  108. isignup.exe
  109. icwdl.dll
  110. icwx25a.dun
  111. icwx25b.dun
  112. icwx25c.dun
  113. icwip.dun
  114. phone.icw
  115. state.icw
  116. msicw.isp
  117. msn.isp
  118. support.icw
  119. cns.gif
  120. nocns.gif
  121. progress.gif
  122. sidebar.gif
  123. connwiz.htm
  124. cwizfram.htm
  125. cwizintr.htm
  126. ;========================
  127. ; Base AddReg
  128. ;========================
  129. [Base.ICW.AddReg]
  130. ; App Paths
  131. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN1.EXE",,0,"""%16422%\%LMSIE4%\%ICW_DIR%\ICWCONN1.EXE"""
  132. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN1.EXE","Path",0,"%16422%\%LMSIE4%\%ICW_DIR%;"
  133. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN2.EXE",,0,"""%16422%\%LMSIE4%\%ICW_DIR%\ICWCONN2.EXE"""
  134. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ICWCONN2.EXE","Path",0,"%16422%\%LMSIE4%\%ICW_DIR%;"
  135. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ISIGNUP.EXE",,0,"""%16422%\%LMSIE4%\%ICW_DIR%\ISIGNUP.EXE"""
  136. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\ISIGNUP.EXE","Path",0,"%16422%\%LMSIE4%\%ICW_DIR%;"
  137. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\INETWIZ.EXE",,0,"""%16422%\%LMSIE4%\%ICW_DIR%\INETWIZ.EXE"""
  138. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\INETWIZ.EXE","Path",0,"%16422%\%LMSIE4%\%ICW_DIR%;"
  139. ; File associations
  140. HKCR,".ins",,,"x-internet-signup"
  141. HKCR,".ins","Content Type",,"application/x-internet-signup"
  142. HKCR,".isp",,,"x-internet-signup"
  143. HKCR,".isp","Content Type",,"application/x-internet-signup"
  144. ;MIME Database
  145. HKCR,"MIME\Database\Content Type\application/x-internet-signup","Extension",,".ins"
  146. ; MIME execution options
  147. HKCR,x-internet-signup,,0,"%INET_COMM_SETTINGS%"
  148. HKCR,x-internet-signup,"FriendlyTypeName",,"@%16422%\%LMSIE4%\%ICW_DIR%\icwres.dll,-20003"
  149. HKCR,x-internet-signup,EditFlags,1,00,00,00,00
  150. HKCR,x-internet-signup\Shell,,0,""
  151. HKCR,x-internet-signup\Shell\Open,EditFlags,1,01,00,00,00
  152. HKCR,x-internet-signup\Shell\Open\command,,0x00020000,""%ProgramFiles%\%LMSIE4%\%ICW_DIR%\ISIGNUP.EXE" %%1"
  153. HKCR,x-internet-signup\DefaultIcon,,0x00020000,"%ProgramFiles%\%LMSIE4%\%ICW_DIR%\ICWCONN1.EXE,0"
  154. ;NT Client Caps
  155. HKLM,"Software\Microsoft\Active Setup\Installed Components\{5A8D6EE0-3E18-11D0-821E-444553540000}","(Default)",,"Internet Connection Wizard"
  156. HKLM,"Software\Microsoft\Active Setup\Installed Components\{5A8D6EE0-3E18-11D0-821E-444553540000}","ComponentID",,"ICW"
  157. HKLM,"Software\Microsoft\Active Setup\Installed Components\{5A8D6EE0-3E18-11D0-821E-444553540000}","IsInstalled",0x00010001,1,0,0,0
  158. HKLM,"Software\Microsoft\Active Setup\Installed Components\{5A8D6EE0-3E18-11D0-821E-444553540000}","Locale",,"%LOCALE_ICW%"
  159. HKLM,"Software\Microsoft\Active Setup\Installed Components\{5A8D6EE0-3E18-11D0-821E-444553540000}","Version",,"%ActiveVersion%"
  160. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\ICW",,,""
  161. ;Software Version
  162. HKLM,"%KEY_ICW%",Version,,"%Version%"
  163. HKLM,"%KEY_ICW%",InstallationDirectory,0x00020000,"""%ProgramFiles%\%LMSIE4%\%ICW_DIR%"""
  164. HKLM,"%KEY_ICW%","CanInstallISPKit5",,"yes"
  165. ; Release Product Values - NT5 (SAM is different)
  166. HKLM,"Software\Microsoft\Internet Connection Wizard","Release Product",,"NT"
  167. HKLM,"Software\Microsoft\Internet Connection Wizard","Release Product Version",,"5.0"
  168. HKLM,"Software\Microsoft\Internet Connection Wizard","Default Product Code",,"NT5"
  169. ;========================
  170. ; Base DelReg
  171. ;========================
  172. [Base.ICW.DelReg]
  173. HKLM,"Software\Microsoft\Active Setup\Installed Components\{5A8D6EE0-3E18-11D0-821E-444553540000}","StubPath"
  174. ;========================
  175. ; Base RegSvr
  176. ;========================
  177. [Base.RegSvr]
  178. 16422,%LMSIE4%\%ICW_DIR%,trialoc.dll,1
  179. ;==============================================================================================
  180. ; Important - Be sure to place any localizable strings
  181. ; below the "Localization Border" Comment
  182. ;==============================================================================================