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.

213 lines
5.9 KiB

  1. ;
  2. ; Remote Install Server
  3. ;
  4. ;
  5. ; Copyright (c) 1997, Microsoft Corporation
  6. ;
  7. [version]
  8. signature = "$Windows NT$"
  9. layoutfile = layout.inf
  10. [Optional Components]
  11. RemInst
  12. ;
  13. ; Remote Installation Services Setup
  14. ;
  15. [RemInst]
  16. RegisterDlls = RemInst.RegSvr
  17. AddReg = RemInst.Registry
  18. ProfileItems = RemInst.ProfileItems
  19. OptionDesc = %RemInst_Desc%
  20. Tip = %RemInst_Help%
  21. IconIndex = 17
  22. CopyFiles = RemInst.SystemFiles, RemInst.DriverFiles, RemInst.ServerSetupFiles, RemInst.NonRemovableSystemFiles
  23. AddService = BINLSVC,0x10,Service.Binlsvc
  24. AddService = TFTPD,0x10,Service.TFTPD
  25. AddService = SIS,,Service.SIS
  26. AddService = Groveler,0x10,Service.SISGroveler
  27. Uninstall = RemInst.Remove
  28. SourcePath = SystemSrc
  29. Run = RemInst.RunUpgrade
  30. @@:@i:SizeApproximation = 1769472
  31. @@:@6:SizeApproximation = 1914880
  32. [RemInst.Remove]
  33. DelFiles = RemInst.SystemFiles, RemInst.ServerSetupFiles
  34. DelService = BINLSVC,0x200
  35. DelService = TFTPD,0x200
  36. DelService = Groveler,0x200
  37. UnregisterDlls = RemInst.RegSvr
  38. ProfileItems = RemInst.ProfileUninstallItems
  39. DelReg = RemInst.Registry
  40. DelReg = RemInst.AdditionalDelReg
  41. DelShare = RemInst.RemoveShare
  42. Run = RemInst.Run
  43. ;
  44. ; Registry Modifications
  45. ;
  46. [RemInst.Registry]
  47. HKLM,"system\currentcontrolset\control\backuprestore\FilesNotToBackup","Single Instance Storage",%REG_MULTI_SZ%,"\SIS Common Store\*.* /s"
  48. HKLM,"system\currentcontrolset\services\eventlog\system\BINLSVC","EventMessageFile",%REG_EXPAND_SZ%,"%SystemRoot%\System32\binlsvc.dll"
  49. HKLM,"system\currentcontrolset\services\eventlog\system\BINLSVC","TypesSupported",%REG_DWORD%,0x00000007
  50. HKLM,"system\currentcontrolset\services\eventlog\system\DHCPServer","EventMessageFile",%REG_EXPAND_SZ%,"%SystemRoot%\System32\dhcpssvc.dll"
  51. HKLM,"system\currentcontrolset\services\eventlog\system\DHCPServer","ParameterMessageFile",%REG_EXPAND_SZ%,"%SystemRoot%\System32\kernel32.dll"
  52. HKLM,"system\currentcontrolset\services\eventlog\system\DHCPServer","TypesSupported",%REG_DWORD%,0x00000007
  53. HKLM,"system\currentcontrolset\services\eventlog\application\BINLSVC","EventMessageFile",%REG_EXPAND_SZ%,"%SystemRoot%\System32\binlsvc.dll"
  54. HKLM,"system\currentcontrolset\services\eventlog\application\BINLSVC","TypesSupported",%REG_DWORD%,0x00000007
  55. HKLM,"system\currentcontrolset\services\BINLSVC\Parameters","ResponseDelay",0x00010003,0x00000000
  56. [RemInst.AdditionalDelReg]
  57. HKLM,"software\microsoft\windows\currentversion\setup","reminst",%REG_DWORD%,0x0
  58. ;
  59. ; DLL Registration
  60. ;
  61. [RemInst.RegSvr]
  62. 11,,imadmui.dll, 1
  63. [RemInst.ProfileItems]
  64. Name=%RemInstProf_DESC%
  65. CmdLine=11,,risetup.exe
  66. SubDir=%AdminTools_GROUP%
  67. WorkingDir = 11
  68. InfoTip ="@%11%\risetup.exe,-220"
  69. DisplayResource=%11%\risetup.exe,219"
  70. [RemInst.ProfileUninstallItems]
  71. Name = %RemInstProf_DESC%,0x00000002
  72. SubDir = %AdminTools_GROUP%
  73. ;
  74. ; Services
  75. ;
  76. [Service.Binlsvc]
  77. DisplayName = %BINL_SERVICE_NAME%
  78. Description = %BINL_SERVICE_DESC%
  79. ServiceType = %SERVICE_WIN32_SHARE_PROCESS%
  80. StartType = %SERVICE_DEMAND_START%
  81. ErrorControl = %SERVICE_ERROR_NORMAL%
  82. ServiceBinary = %11%\tcpsvcs.exe
  83. Dependencies = Tcpip,LanmanServer
  84. FilesRequired = binlsvc.dll,tcpsvcs.exe
  85. [Service.TFTPD]
  86. DisplayName = %TFTPD_SERVICE_NAME%
  87. Description = %TFTPD_SERVICE_DESC%
  88. ServiceType = %SERVICE_WIN32_OWN_PROCESS%
  89. StartType = %SERVICE_DEMAND_START%
  90. ErrorControl = %SERVICE_ERROR_NORMAL%
  91. ServiceBinary = %11%\tftpd.exe
  92. Dependencies = Tcpip
  93. FilesRequired = tftpd.exe
  94. [Service.SIS]
  95. DisplayName = %SIS_SERVICE_NAME%
  96. Description = %SIS_SERVICE_DESC%
  97. ServiceType = %SERVICE_FILE_SYSTEM_DRIVER%
  98. StartType = %SERVICE_BOOT_START%
  99. ErrorControl = %SERVICE_ERROR_NORMAL%
  100. ServiceBinary = %12%\sis.sys
  101. LoadOrderGroup = "FSFilter System"
  102. FilesRequired = drivers\sis.sys
  103. [Service.SISGroveler]
  104. DisplayName = %GROVEL_SERVICE_NAME%
  105. Description = %GROVEL_SERVICE_DESC%
  106. ServiceType = %SERVICE_WIN32_OWN_PROCESS%
  107. StartType = %SERVICE_DEMAND_START%
  108. ErrorControl = %SERVICE_ERROR_NORMAL%
  109. ServiceBinary = %11%\grovel.exe
  110. Dependencies = SIS
  111. FilesRequired = grovel.exe,grovmsg.dll
  112. ;
  113. ; Run this script to cleanup the SCP
  114. ;
  115. [RemInst.Run]
  116. CommandLine = cleanri.exe
  117. TickCount = 100
  118. [RemInst.RunUpgrade]
  119. CommandLine = "risetup.exe -upgrade"
  120. TickCount = 100
  121. [RemInst.RemoveShare]
  122. Share = REMINST
  123. ;
  124. ; Copy Files
  125. ;
  126. [DestinationDirs]
  127. RemInst.ServerSetupFiles = 11,RemInst ;System32\RemInst
  128. RemInst.SystemFiles = 11 ;System32
  129. RemInst.OtherSystemFiles = 11 ;System32
  130. RemInst.DriverFiles = 11,Drivers ;System32\Drivers
  131. RemInst.NonRemovableSystemFiles = 11 ;System32
  132. [RemInst.SystemFiles]
  133. risetup.exe,,,0x10000
  134. tftpd.exe,,,0x10000
  135. imadmui.dll,,,0x10000
  136. grovel.exe,,,0x10000
  137. grovmsg.dll,,,0x10000
  138. reminst.inf,,,0x10000
  139. [RemInst.SystemFiles.Security]
  140. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  141. [RemInst.NonRemovableSystemFiles]
  142. binlsvc.dll
  143. dhcpssvc.dll
  144. cleanri.exe
  145. [RemInst.NonRemovableSystemFiles.Security]
  146. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  147. [RemInst.OtherSystemFiles]
  148. tcpsvcs.exe
  149. [RemInst.OtherSystemFiles.Security]
  150. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  151. [RemInst.DriverFiles]
  152. sis.sys
  153. [RemInst.ServerSetupFiles]
  154. welcome.osc
  155. multilng.osc
  156. @@:@i:oschoice.exe
  157. txtsetup.sif
  158. @@:@i:startrom.com
  159. @@:@i:startrom.n12
  160. @@:@i:hdlscom1.com
  161. @@:@i:hdlscom1.n12
  162. @@:@i:hdlscom2.com
  163. @@:@i:hdlscom2.n12
  164. @@:@6:oschc_i.exe
  165. @@:@6:strtrm_i.com
  166. @@:@6:strtrm_i.n12
  167. @@:@6:hdlsc1_i.com
  168. @@:@6:hdlsc1_i.n12
  169. @@:@6:hdlsc2_i.com
  170. @@:@6:hdlsc2_i.n12
  171. rbfg.exe
  172. @@:@i:riprep.exe
  173. @*:riprep.inf does not differ per architecture.
  174. @*: if this changes, we must install an riprep_i.inf, etc.
  175. riprep.inf
  176. @@:@i:imirror.dll
  177. @@:@i:setupcl.exe
  178. @@:@6:riprep_i.exe
  179. @@:@6:imrror_i.dll
  180. @@:@6:setpcl_i.exe
  181. @@:@6:txtset_i.sif
  182. [RemInst.ServerSetupFiles.Security]
  183. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"