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.

94 lines
3.0 KiB

  1. ; Copyright (c) 2000 Microsoft corporation
  2. ;
  3. ; Installation file for BITS(Background Intelligent Transfer Service)
  4. [Version]
  5. Signature= "$Windows NT$"
  6. LayoutFile=layout.inf
  7. [DefaultInstall]
  8. CopyFiles = BITS_files_install
  9. AddReg = BITS_regkeys_install
  10. RegisterDlls = BITS_regsvr_dlls
  11. DelReg = BITS_delkeys_install
  12. [DefaultUninstall]
  13. UnregisterDlls = BITS_regsvr_dlls
  14. DelReg = BITS_regkeys_uninstall
  15. DelFiles = BITS_files_uninstall
  16. ; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  17. ; 0x200 = SPSVCINST_STOPSERVICE
  18. [DefaultInstall.Services]
  19. DelService = drizzle,0x200
  20. AddService = BITS,0x10,BITS_service_entry
  21. [DefaultUninstall.Services]
  22. DelService = BITS
  23. ; Copy everything to the system32 directory
  24. [DestinationDirs]
  25. BITS_files_install = 11
  26. BITS_files_uninstall = 11
  27. ;no skip and no version check
  28. [BITS_files_install]
  29. qmgr.dll,,6
  30. qmgrprxy.dll,,6
  31. ;set security descriptor on the installed files
  32. [BITS_files_install.Security]
  33. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  34. [BITS_files_uninstall]
  35. qmgr.dll
  36. qmgrprxy.dll
  37. [BITS_regkeys_install]
  38. ; Service keys
  39. HKLM,"SYSTEM\CurrentControlSet\Services\BITS\Parameters","ServiceDll",0x00020000,"%11%\qmgr.dll"
  40. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SvcHost","netsvcs",0x00010008,"BITS"
  41. ; CLSID keys
  42. HKCR,"CLSID\{4991d34b-80a1-4291-83b6-3328366b9097}",,0x00000000,%BITS_CLASS_NAME%
  43. HKCR,"CLSID\{4991d34b-80a1-4291-83b6-3328366b9097}","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  44. HKCR,"CLSID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}",,0x00000000,%LEGACY_BACKGROUND_COPY_CLASS_NAME%
  45. HKCR,"CLSID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  46. ; AppID keys
  47. HKCR,"AppID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}",,0x00000000,%BITS_DISPLAY_NAME%
  48. HKCR,"AppID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}","LocalService",0x00000000,"BITS"
  49. HKCR,"AppID\BITS","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  50. [BITS_delkeys_install]
  51. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost\Drizzlegroup"
  52. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost","Drizzlegroup"
  53. HKCR,"AppID\Drizzle"
  54. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost\BITSgroup","AuthenticationCapabilities"
  55. [BITS_regkeys_uninstall]
  56. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost\BITSgroup"
  57. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost","BITSgroup"
  58. HKCR,"CLSID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  59. HKCR,"CLSID\{4991d34b-80a1-4291-83b6-3328366b9097}"
  60. HKCR,"AppID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
  61. HKCR,"AppID\BITS"
  62. [BITS_service_entry]
  63. DisplayName="%BITS_DISPLAY_NAME%"
  64. Description="%BITS_DESCRIPTION%"
  65. ServiceType=32
  66. StartType=3
  67. ErrorControl=1
  68. ServiceBinary="%11%\svchost.exe -k netsvcs"
  69. Dependencies="LanmanWorkstation","RpcSs"
  70. [BITS_regsvr_dlls]
  71. 11,,qmgrprxy.dll,1
  72. [Strings]
  73. BITS_DISPLAY_NAME = "Background Intelligent Transfer Service"
  74. BITS_DESCRIPTION = "Uses idle network bandwidth to transfer data."
  75. BITS_CLASS_NAME = "Background Intelligent Transfer Control Class 1.0"
  76. LEGACY_BITS_CLASS_NAME = "Legacy Background Intelligent Transfer Control Class"