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.

234 lines
14 KiB

  1. ; Copyright (c) 2002 Microsoft Corporation, All Rights Reserved.
  2. ;
  3. ; qmgr_v15.inf
  4. ;
  5. ; Registration and configuration file for Background Intelligent
  6. ; Transfer Service.
  7. [Version]
  8. Signature= "$Windows NT$"
  9. LayoutFile=layout.inf
  10. [DefaultInstall]
  11. CopyFiles = BITS_files_install_1, BITS_files_install_2
  12. RegisterDlls = BITS_regsvr_dlls
  13. [DefaultUninstall]
  14. UnregisterDlls = BITS_regsvr_dlls
  15. DelReg = BITS_regkeys_uninstall
  16. DelFiles = BITS_files_uninstall
  17. [BITS_DefaultInstall]
  18. ; RegisterDlls = BITS_regsvr_dlls
  19. AddReg = BITS_regkeys_install
  20. DelReg = BITS_delkeys_install
  21. [BITS_DefaultUninstall]
  22. UnregisterDlls = BITS_regsvr_dlls
  23. DelReg = BITS_regkeys_uninstall
  24. ;----------------------------------------------------------------------
  25. ; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  26. ; 0x200 = SPSVCINST_STOPSERVICE
  27. [DefaultInstall.Services]
  28. DelService = BITS,0x200
  29. AddService = BITS,0x10,BITS_service_entry
  30. [DefaultUninstall.Services]
  31. DelService = BITS
  32. [BITS_DefaultInstall.Services]
  33. DelService = BITS,0x200
  34. AddService = BITS,0x10,BITS_service_entry
  35. [BITS_DefaultUninstall.Services]
  36. DelService = BITS
  37. ;----------------------------------------------------------------------
  38. ; Copy everything to the system32 and system32\BITS directories
  39. [DestinationDirs]
  40. BITS_files_install_1 = 11
  41. BITS_files_install_2 = 11,BITS
  42. BITS_files_uninstall = 11
  43. ;----------------------------------------------------------------------
  44. ;no skip and no version check
  45. [BITS_files_install_1]
  46. qmgr.dll,,6
  47. qmgrprxy.dll,,6
  48. bitsprx2.dll,,6
  49. [BITS_files_install_2]
  50. qmgr.dll,,6
  51. ;----------------------------------------------------------------------
  52. ; Set the security descriptor for the installed files
  53. [BITS_files_install_1.Security]
  54. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  55. [BITS_files_install_2.Security]
  56. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  57. [BITS_files_uninstall]
  58. qmgr.dll
  59. qmgrprxy.dll
  60. bitsprx2.dll
  61. ;----------------------------------------------------------------------
  62. ; Install Registry Keys
  63. [BITS_regkeys_install]
  64. ; Service keys
  65. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","DependOnGroup",0x00010000,
  66. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","DependOnService",0x00010000,"Rpcss","SENS","Wmi"
  67. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","Description",0x00000000,%BITS_DESCRIPTION%
  68. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","DisplayName",0x00000000,%BITS_DISPLAY_NAME%
  69. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","ErrorControl",0x00010001,0x01
  70. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","Group",0x00000000,"BITSgroup"
  71. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","ImagePath",0x00020000,"%SystemRoot%\System32\svchost.exe -k BITSgroup"
  72. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","ObjectName",0x00000000,"LocalSystem"
  73. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","Start",0x00010001,0x03
  74. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","Type",0x00010001,0x20
  75. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\Security","Security",0x00000001,01,00,14,80,a0,00,00,00,ac,00,00,00,14,00,00,00,30,00,00,00,02,00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,00,00,02,00,70,00,04,00,00,00,00,00,18,00,fd,01,02,00,01,01,00,00,00,00,00,05,12,00,00,00,66,72,5d,25,00,00,1c,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,64,63,3b,0b,00,00,18,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,20,02,00,00,00,00,1c,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,64,63,3b,0b,01,01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
  76. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","FailureActions", 0x00000001,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x68,0xE3,0x0C,0x00,0x01,0x00,0x00,0x00,0x60,0xEA,0x00,0x00,0x01,0x00,0x00,0x00,0x60,0xEA,0x00,0x00,0x01,0x00,0x00,0x00,0x60,0xEA,0x00,0x00
  77. HKLM,"SYSTEM\CurrentControlSet\Services\BITS\Parameters","ServiceDll",0x00020000,"%11%\qmgr.dll"
  78. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\BITS","ServiceDLL",0x00000000,"%11%\BITS\qmgr.dll"
  79. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SvcHost","BITSgroup",0x00010008,"BITS"
  80. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SvcHost\BITSGroup","DefaultRpcStackSize",0x10001,8
  81. ; Event logging keys
  82. ;
  83. ; 0x7 = EVENTLOG_ERROR_TYPE | EVENTLOG_WARNING_TYPE | EVENTLOG_INFORMATION_TYPE
  84. ;
  85. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\BITS","TypesSupported", 0x00010001, 0x7
  86. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\BITS","CategoryCount", 0x00010001, 1
  87. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\BITS","CategoryMessageFile",0x00000000,"%11%\BITS\qmgr.dll"
  88. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\BITS","EventMessageFile",0x00000000,"%11%\BITS\qmgr.dll"
  89. ; CLSID keys
  90. ;
  91. ; Note: For machine reg keys, HKCR is actually HKLM\Software\Classes
  92. ;
  93. HKLM,"Software\Classes\CLSID\{F087771F-D74F-4C1A-BB8A-E16ACA9124EA}",,0x00000000,%BITS_CLASS_NAME%
  94. HKLM,"Software\Classes\CLSID\{F087771F-D74F-4C1A-BB8A-E16ACA9124EA}","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  95. HKLM,"Software\Classes\CLSID\{4991d34b-80a1-4291-83b6-3328366b9097}",,0x00000000,%BITS_CLASS_NAME%
  96. HKLM,"Software\Classes\CLSID\{4991d34b-80a1-4291-83b6-3328366b9097}","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  97. HKLM,"Software\Classes\CLSID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}",,0x00000000,%LEGACY_BITS_CLASS_NAME%
  98. HKLM,"Software\Classes\CLSID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  99. ; AppID keys
  100. HKLM,"Software\Classes\AppID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}",,0x00000000,%BITS_DISPLAY_NAME%
  101. HKLM,"Software\Classes\AppID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}","LocalService",0x00000000,"BITS"
  102. HKLM,"Software\Classes\AppID\BITS","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  103. ; Keys for qmgrprxy.dll
  104. HKLM,"Software\Classes\CLSID\{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}",,0x00000000,"PSFactoryBuffer"
  105. HKLM,"Software\Classes\CLSID\{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}\InProcServer32",,0x00000000,"%11%\qmgrprxy.dll"
  106. HKLM,"Software\Classes\CLSID\{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}\InProcServer32","ThreadingModel",0x00000000,"Both"
  107. HKLM,"Software\Classes\Interface\{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}",,0x00000000,"IBackgroundCopyManager"
  108. HKLM,"Software\Classes\Interface\{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}\NumMethods",,0x00000000,"7"
  109. HKLM,"Software\Classes\Interface\{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  110. HKLM,"Software\Classes\Interface\{1AF4F612-3B71-466F-8F58-7B6F73AC57AD}",,0x00000000,"IEnumBackgroundCopyJobs"
  111. HKLM,"Software\Classes\Interface\{1AF4F612-3B71-466F-8F58-7B6F73AC57AD}\NumMethods",,0x00000000,"8"
  112. HKLM,"Software\Classes\Interface\{1AF4F612-3B71-466F-8F58-7B6F73AC57AD}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  113. HKLM,"Software\Classes\Interface\{01B7BD23-FB88-4A77-8490-5891D3E4653A}",,0x00000000,"IBackgroundCopyFile"
  114. HKLM,"Software\Classes\Interface\{01B7BD23-FB88-4A77-8490-5891D3E4653A}\NumMethods",,0x00000000,"6"
  115. HKLM,"Software\Classes\Interface\{01B7BD23-FB88-4A77-8490-5891D3E4653A}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  116. HKLM,"Software\Classes\Interface\{37668D37-507E-4160-9316-26306D150B12}",,0x00000000,"IBackgroundCopyJob"
  117. HKLM,"Software\Classes\Interface\{37668D37-507E-4160-9316-26306D150B12}\NumMethods",,0x00000000,"35"
  118. HKLM,"Software\Classes\Interface\{37668D37-507E-4160-9316-26306D150B12}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  119. HKLM,"Software\Classes\Interface\{CA51E165-C365-424C-8D41-24AAA4FF3C40}",,0x00000000,"IEnumBackgroundCopyFiles"
  120. HKLM,"Software\Classes\Interface\{CA51E165-C365-424C-8D41-24AAA4FF3C40}\NumMethods",,0x00000000,"8"
  121. HKLM,"Software\Classes\Interface\{CA51E165-C365-424C-8D41-24AAA4FF3C40}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  122. HKLM,"Software\Classes\Interface\{19C613A0-FCB8-4F28-81AE-897C3D078F81}",,0x00000000,"IBackgroundCopyError"
  123. HKLM,"Software\Classes\Interface\{19C613A0-FCB8-4F28-81AE-897C3D078F81}\NumMethods",,0x00000000,"8"
  124. HKLM,"Software\Classes\Interface\{19C613A0-FCB8-4F28-81AE-897C3D078F81}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  125. HKLM,"Software\Classes\Interface\{97EA99C7-0186-4AD4-8DF9-C5B4E0ED6B22}",,0x00000000,"IBackgroundCopyCallback"
  126. HKLM,"Software\Classes\Interface\{97EA99C7-0186-4AD4-8DF9-C5B4E0ED6B22}\AsynchronousInterface",,0x00000000,"{CA29D251-B4BB-4679-A3D9-AE8006119D54}"
  127. HKLM,"Software\Classes\Interface\{97EA99C7-0186-4AD4-8DF9-C5B4E0ED6B22}\NumMethods",,0x00000000,"6"
  128. HKLM,"Software\Classes\Interface\{97EA99C7-0186-4AD4-8DF9-C5B4E0ED6B22}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  129. HKLM,"Software\Classes\Interface\{CA29D251-B4BB-4679-A3D9-AE8006119D54}",,0x00000000,"AsyncIBackgroundCopyCallback"
  130. HKLM,"Software\Classes\Interface\{CA29D251-B4BB-4679-A3D9-AE8006119D54}\NumMethods",,0x00000000,"9"
  131. HKLM,"Software\Classes\Interface\{CA29D251-B4BB-4679-A3D9-AE8006119D54}\SynchronousInterface",,0x00000000,"{97EA99C7-0186-4AD4-8DF9-C5B4E0ED6B22}"
  132. HKLM,"Software\Classes\Interface\{D993E603-4AA4-47C5-8665-C20D39C2BA4F}",,0x00000000,"IEnumBackgroundCopyGroups"
  133. HKLM,"Software\Classes\Interface\{D993E603-4AA4-47C5-8665-C20D39C2BA4F}\NumMethods",,0x00000000,"8"
  134. HKLM,"Software\Classes\Interface\{D993E603-4AA4-47C5-8665-C20D39C2BA4F}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  135. HKLM,"Software\Classes\Interface\{59F5553C-2031-4629-BB18-2645A6970947}",,0x00000000,"IBackgroundCopyJob1"
  136. HKLM,"Software\Classes\Interface\{59F5553C-2031-4629-BB18-2645A6970947}\NumMethods",,0x00000000,"11"
  137. HKLM,"Software\Classes\Interface\{59F5553C-2031-4629-BB18-2645A6970947}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  138. HKLM,"Software\Classes\Interface\{16F41C69-09F5-41D2-8CD8-3C08C47BC8A8}",,0x00000000,"IBackgroundCopyQMgr"
  139. HKLM,"Software\Classes\Interface\{16F41C69-09F5-41D2-8CD8-3C08C47BC8A8}\NumMethods",,0x00000000,"6"
  140. HKLM,"Software\Classes\Interface\{16F41C69-09F5-41D2-8CD8-3C08C47BC8A8}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  141. HKLM,"Software\Classes\Interface\{084F6593-3800-4E08-9B59-99FA59ADDF82}",,0x00000000,"IBackgroundCopyCallback1"
  142. HKLM,"Software\Classes\Interface\{084F6593-3800-4E08-9B59-99FA59ADDF82}\NumMethods",,0x00000000,"6"
  143. HKLM,"Software\Classes\Interface\{084F6593-3800-4E08-9B59-99FA59ADDF82}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  144. HKLM,"Software\Classes\Interface\{8BAEBA9D-8F1C-42C4-B82C-09AE79980D25}",,0x00000000,"IEnumBackgroundCopyJobs1"
  145. HKLM,"Software\Classes\Interface\{8BAEBA9D-8F1C-42C4-B82C-09AE79980D25}\NumMethods",,0x00000000,"8"
  146. HKLM,"Software\Classes\Interface\{8BAEBA9D-8F1C-42C4-B82C-09AE79980D25}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  147. HKLM,"Software\Classes\Interface\{1DED80A7-53EA-424F-8A04-17FEA9ADC4F5}",,0x00000000,"IBackgroundCopyGroup"
  148. HKLM,"Software\Classes\Interface\{1DED80A7-53EA-424F-8A04-17FEA9ADC4F5}\NumMethods",,0x00000000,"18"
  149. HKLM,"Software\Classes\Interface\{1DED80A7-53EA-424F-8A04-17FEA9ADC4F5}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  150. ; Keys for bitsprx2.dll
  151. HKLM,"Software\Classes\CLSID\{54B50739-686F-45EB-9DFF-D6A9A0FAA9AF}",,0x00000000,"PSFactoryBuffer"
  152. HKLM,"Software\Classes\CLSID\{54B50739-686F-45EB-9DFF-D6A9A0FAA9AF}\InProcServer32",,0x00000000,"%11%\bitsprx2.dll"
  153. HKLM,"Software\Classes\CLSID\{54B50739-686F-45EB-9DFF-D6A9A0FAA9AF}\InProcServer32","ThreadingModel",0x00000000,"Both"
  154. HKLM,"Software\Classes\Interface\{54B50739-686F-45EB-9DFF-D6A9A0FAA9AF}",,0x00000000,"IBackgroundCopyJob2"
  155. HKLM,"Software\Classes\Interface\{54B50739-686F-45EB-9DFF-D6A9A0FAA9AF}\NumMethods",,0x00000000,"43"
  156. HKLM,"Software\Classes\Interface\{54B50739-686F-45EB-9DFF-D6A9A0FAA9AF}\ProxyStubClsid32",,0x00000000,"{54B50739-686F-45EB-9DFF-D6A9A0FAA9AF}"
  157. HKLM,"Software\Classes\Interface\{51A183DB-67E0-4472-8602-3DBC730B7EF5}",,0x00000000,"IBitsTest1"
  158. HKLM,"Software\Classes\Interface\{51A183DB-67E0-4472-8602-3DBC730B7EF5}\NumMethods",,0x00000000,"4"
  159. HKLM,"Software\Classes\Interface\{51A183DB-67E0-4472-8602-3DBC730B7EF5}\ProxyStubClsid32",,0x00000000,"{54B50739-686F-45EB-9DFF-D6A9A0FAA9AF}"
  160. [BITS_delkeys_install]
  161. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost\Drizzlegroup"
  162. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost","Drizzlegroup"
  163. HKCR,"AppID\Drizzle"
  164. ;----------------------------------------------------------------------
  165. ; Uninstall Registry Keys
  166. [BITS_regkeys_uninstall]
  167. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost\BITSgroup"
  168. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost","BITSgroup"
  169. HKCR,"CLSID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  170. HKCR,"CLSID\{F087771F-D74F-4C1A-BB8A-E16ACA9124EA}"
  171. HKCR,"CLSID\{4991d34b-80a1-4291-83b6-3328366b9097}"
  172. HKCR,"AppID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  173. HKCR,"AppID\BITS"
  174. ;----------------------------------------------------------------------
  175. ; Service Configuration
  176. ;
  177. ; Note: There is not setting for the newer FailureAction service settings,
  178. ; so this must be done manually (see key FailureAction above).
  179. ;
  180. [BITS_service_entry]
  181. DisplayName="%BITS_DISPLAY_NAME%"
  182. Description="%BITS_DESCRIPTION%"
  183. ServiceType=32
  184. StartType=3
  185. ErrorControl=1
  186. ServiceBinary="%11%\svchost.exe -k BITSgroup"
  187. Dependencies="RpcSs","SENS","Wmi"
  188. ;-----------------------------------------------------------------------
  189. ; Dll Registration
  190. [BITS_regsvr_dlls]
  191. 11,,qmgrprxy.dll,1
  192. 11,,bitsprx2.dll,1
  193. ;-----------------------------------------------------------------------
  194. [Strings]
  195. BITS_DISPLAY_NAME = "Background Intelligent Transfer Service"
  196. BITS_DESCRIPTION = "Transfers data between clients and servers in the background. If BITS is disabled, features such as Windows Update will not work correctly."
  197. BITS_CLASS_NAME = "Background Intelligent Transfer Control Class 1.0"
  198. LEGACY_BITS_CLASS_NAME = "Legacy Background Intelligent Transfer Control Class"