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.

212 lines
6.3 KiB

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