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.

184 lines
11 KiB

  1. ; Copyright (c) Microsoft Corporation. All rights reserved.
  2. ;
  3. ; qmgr_v12.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
  12. RegisterDlls = BITS_regsvr_dlls
  13. [DefaultUninstall]
  14. UnregisterDlls = BITS_regsvr_dlls
  15. DelReg = BITS_regkeys_uninstall
  16. DelFiles = BITS_files_uninstall
  17. [BitsDefaultInstall]
  18. AddReg = BITS_regkeys_install
  19. DelReg = BITS_delkeys_install
  20. [BitsDefaultUninstall]
  21. DelReg = BITS_regkeys_uninstall
  22. DelFiles = BITS_files_uninstall
  23. ;----------------------------------------------------------------------
  24. ; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  25. ; 0x200 = SPSVCINST_STOPSERVICE
  26. ; [DefaultInstall.Services]
  27. ; DelService = BITS,0x200
  28. ; AddService = BITS,0x10,BITS_service_entry
  29. ; [DefaultUninstall.Services]
  30. ; DelService = BITS
  31. ;----------------------------------------------------------------------
  32. ; Copy everything to the system32 directory
  33. [DestinationDirs]
  34. BITS_files_install = 11
  35. BITS_files_uninstall = 11
  36. ;----------------------------------------------------------------------
  37. ;no skip and no version check
  38. [BITS_files_install]
  39. qmgr.dll,,6
  40. qmgrprxy.dll,,6
  41. ;----------------------------------------------------------------------
  42. ; Set the security descriptor for the installed files
  43. [BITS_files_install.Security]
  44. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  45. [BITS_files_uninstall]
  46. qmgr.dll
  47. qmgrprxy.dll
  48. ;----------------------------------------------------------------------
  49. ; Install Registry Keys
  50. [BITS_regkeys_install]
  51. ; Service keys
  52. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","DependOnGroup",0x00010000,
  53. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","DependOnService",0x00010000,"Rpcss","SENS","Wmi"
  54. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","Description",0x00000000,%BITS_DESCRIPTION%
  55. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","DisplayName",0x00000000,%BITS_DISPLAY_NAME%
  56. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","ErrorControl",0x00010001,0x01
  57. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","Group",0x00000000,"BITSgroup"
  58. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","ImagePath",0x00020000,"%SystemRoot%\System32\svchost.exe -k BITSgroup"
  59. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","ObjectName",0x00000000,"LocalSystem"
  60. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","Start",0x00010001,0x03
  61. ; HKLM,"SYSTEM\CurrentControlSet\Services\BITS\","Type",0x00010001,0x20
  62. ; 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
  63. HKLM,"SYSTEM\CurrentControlSet\Services\BITS\Parameters","ServiceDll",0x00020000,"%11%\qmgr.dll"
  64. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SvcHost","BITSgroup",0x00010008,"BITS"
  65. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SvcHost\BITSGroup","DefaultRpcStackSize",0x10001,8
  66. ; CLSID keys
  67. HKCR,"CLSID\{4991d34b-80a1-4291-83b6-3328366b9097}",,0x00000000,%BITS_CLASS_NAME%
  68. HKCR,"CLSID\{4991d34b-80a1-4291-83b6-3328366b9097}","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  69. HKCR,"CLSID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}",,0x00000000,%LEGACY_BITS_CLASS_NAME%
  70. HKCR,"CLSID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  71. ; AppID keys
  72. HKCR,"AppID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}",,0x00000000,%BITS_DISPLAY_NAME%
  73. HKCR,"AppID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}","LocalService",0x00000000,"BITS"
  74. HKCR,"AppID\BITS","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  75. ; Keys from qmgrprxy.dll (interfaces)
  76. HKCR,"CLSID\{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}",,0x00000000,"PSFactoryBuffer"
  77. HKCR,"CLSID\{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}\InProcServer32",,0x00000000,"%11%\qmgrprxy.dll"
  78. HKCR,"CLSID\{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}\InProcServer32",ThreadingModel,0x00000000,"Both"
  79. HKCR,"Interface\{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}",,0x00000000,"IBackgroundCopyManager"
  80. HKCR,"Interface\{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}\NumMethods",,0x00000000,"7"
  81. HKCR,"Interface\{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  82. HKCR,"Interface\{1AF4F612-3B71-466F-8F58-7B6F73AC57AD}",,0x00000000,"IEnumBackgroundCopyJobs"
  83. HKCR,"Interface\{1AF4F612-3B71-466F-8F58-7B6F73AC57AD}\NumMethods",,0x00000000,"8"
  84. HKCR,"Interface\{1AF4F612-3B71-466F-8F58-7B6F73AC57AD}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  85. HKCR,"Interface\{01B7BD23-FB88-4A77-8490-5891D3E4653A}",,0x00000000,"IBackgroundCopyFile"
  86. HKCR,"Interface\{01B7BD23-FB88-4A77-8490-5891D3E4653A}\NumMethods",,0x00000000,"6"
  87. HKCR,"Interface\{01B7BD23-FB88-4A77-8490-5891D3E4653A}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  88. HKCR,"Interface\{37668D37-507E-4160-9316-26306D150B12}",,0x00000000,"IBackgroundCopyJob"
  89. HKCR,"Interface\{37668D37-507E-4160-9316-26306D150B12}\NumMethods",,0x00000000,"35"
  90. HKCR,"Interface\{37668D37-507E-4160-9316-26306D150B12}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  91. HKCR,"Interface\{CA51E165-C365-424C-8D41-24AAA4FF3C40}",,0x00000000,"IEnumBackgroundCopyFiles"
  92. HKCR,"Interface\{CA51E165-C365-424C-8D41-24AAA4FF3C40}\NumMethods",,0x00000000,"8"
  93. HKCR,"Interface\{CA51E165-C365-424C-8D41-24AAA4FF3C40}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  94. HKCR,"Interface\{19C613A0-FCB8-4F28-81AE-897C3D078F81}",,0x00000000,"IBackgroundCopyError"
  95. HKCR,"Interface\{19C613A0-FCB8-4F28-81AE-897C3D078F81}\NumMethods",,0x00000000,"8"
  96. HKCR,"Interface\{19C613A0-FCB8-4F28-81AE-897C3D078F81}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  97. HKCR,"Interface\{97EA99C7-0186-4AD4-8DF9-C5B4E0ED6B22}",,0x00000000,"IBackgroundCopyCallback"
  98. HKCR,"Interface\{97EA99C7-0186-4AD4-8DF9-C5B4E0ED6B22}\AsynchronousInterface",,0x00000000,"{CA29D251-B4BB-4679-A3D9-AE8006119D54}"
  99. HKCR,"Interface\{97EA99C7-0186-4AD4-8DF9-C5B4E0ED6B22}\NumMethods",,0x00000000,"6"
  100. HKCR,"Interface\{97EA99C7-0186-4AD4-8DF9-C5B4E0ED6B22}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  101. HKCR,"Interface\{CA29D251-B4BB-4679-A3D9-AE8006119D54}",,0x00000000,"AsyncIBackgroundCopyCallback"
  102. HKCR,"Interface\{CA29D251-B4BB-4679-A3D9-AE8006119D54}\NumMethods",,0x00000000,"9"
  103. HKCR,"Interface\{CA29D251-B4BB-4679-A3D9-AE8006119D54}\SynchronousInterface",,0x00000000,"{97EA99C7-0186-4AD4-8DF9-C5B4E0ED6B22}"
  104. HKCR,"Interface\{D993E603-4AA4-47C5-8665-C20D39C2BA4F}",,0x00000000,"IEnumBackgroundCopyGroups"
  105. HKCR,"Interface\{D993E603-4AA4-47C5-8665-C20D39C2BA4F}\NumMethods",,0x00000000,"8"
  106. HKCR,"Interface\{D993E603-4AA4-47C5-8665-C20D39C2BA4F}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  107. HKCR,"Interface\{59F5553C-2031-4629-BB18-2645A6970947}",,0x00000000,"IBackgroundCopyJob1"
  108. HKCR,"Interface\{59F5553C-2031-4629-BB18-2645A6970947}\NumMethods",,0x00000000,"11"
  109. HKCR,"Interface\{59F5553C-2031-4629-BB18-2645A6970947}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  110. HKCR,"Interface\{16F41C69-09F5-41D2-8CD8-3C08C47BC8A8}",,0x00000000,"IBackgroundCopyQMgr"
  111. HKCR,"Interface\{16F41C69-09F5-41D2-8CD8-3C08C47BC8A8}\NumMethods",,0x00000000,"6"
  112. HKCR,"Interface\{16F41C69-09F5-41D2-8CD8-3C08C47BC8A8}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  113. HKCR,"Interface\{084F6593-3800-4E08-9B59-99FA59ADDF82}",,0x00000000,"IBackgroundCopyCallback1"
  114. HKCR,"Interface\{084F6593-3800-4E08-9B59-99FA59ADDF82}\NumMethods",,0x00000000,"6"
  115. HKCR,"Interface\{084F6593-3800-4E08-9B59-99FA59ADDF82}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  116. HKCR,"Interface\{8BAEBA9D-8F1C-42C4-B82C-09AE79980D25}",,0x00000000,"IEnumBackgroundCopyJobs1"
  117. HKCR,"Interface\{8BAEBA9D-8F1C-42C4-B82C-09AE79980D25}\NumMethods",,0x00000000,"8"
  118. HKCR,"Interface\{8BAEBA9D-8F1C-42C4-B82C-09AE79980D25}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  119. HKCR,"Interface\{1DED80A7-53EA-424F-8A04-17FEA9ADC4F5}",,0x00000000,"IBackgroundCopyGroup"
  120. HKCR,"Interface\{1DED80A7-53EA-424F-8A04-17FEA9ADC4F5}\NumMethods",,0x00000000,"18"
  121. HKCR,"Interface\{1DED80A7-53EA-424F-8A04-17FEA9ADC4F5}\ProxyStubClsid32",,0x00000000,"{5CE34C0D-0DC9-4C1F-897C-DAA1B78CEE7C}"
  122. [BITS_delkeys_install]
  123. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost\Drizzlegroup"
  124. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost","Drizzlegroup"
  125. HKCR,"AppID\Drizzle"
  126. ;----------------------------------------------------------------------
  127. ; Uninstall Registry Keys
  128. [BITS_regkeys_uninstall]
  129. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost\BITSgroup"
  130. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost","BITSgroup"
  131. HKCR,"CLSID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  132. HKCR,"CLSID\{4991d34b-80a1-4291-83b6-3328366b9097}"
  133. HKCR,"AppID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  134. HKCR,"AppID\BITS"
  135. ;----------------------------------------------------------------------
  136. ; Service Configuration (turned off, done above via registry).
  137. ;
  138. ; [BITS_service_entry]
  139. ; DisplayName="%BITS_DISPLAY_NAME%"
  140. ; Description="%BITS_DESCRIPTION%"
  141. ; ServiceType=32
  142. ; StartType=3
  143. ; ErrorControl=1
  144. ; ServiceBinary="%11%\svchost.exe -k BITSgroup"
  145. ; Dependencies="RpcSs","SENS","Wmi"
  146. ;-----------------------------------------------------------------------
  147. ; Dll Registration
  148. [BITS_regsvr_dlls]
  149. 11,,qmgr.dll,2,,""
  150. ;-----------------------------------------------------------------------
  151. [Strings]
  152. BITS_DISPLAY_NAME = "Background Intelligent Transfer Service"
  153. BITS_DESCRIPTION = "Transfers files in the background using idle network bandwidth. If the service is stopped, features such as Windows Update, and MSN Explorer will be unable to automatically download programs and other information. If this service is disabled, any services that explicitly depend on it may fail to transfer files if they do not have a fail safe mechanism to transfer files directly through IE in case BITS has been disabled."
  154. BITS_CLASS_NAME = "Background Intelligent Transfer Control Class 1.0"
  155. LEGACY_BITS_CLASS_NAME = "Legacy Background Intelligent Transfer Control Class"