|
|
; Copyright (c) Microsoft Corporation. All rights reserved. ; ; Installation file for BITS(Background Intelligent Transfer Service)
[Version] Signature= "$Windows NT$" LayoutFile=layout.inf
[DefaultInstall] CopyFiles = BITS_files_install AddReg = BITS_regkeys_install RegisterDlls = BITS_regsvr_dlls DelReg = BITS_delkeys_install
[DefaultUninstall] UnregisterDlls = BITS_regsvr_dlls DelReg = BITS_regkeys_uninstall DelFiles = BITS_files_uninstall
; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE ; 0x200 = SPSVCINST_STOPSERVICE [DefaultInstall.Services] DelService = BITS,0x200 AddService = BITS,0x10,BITS_service_entry
[DefaultUninstall.Services] DelService = BITS
; Copy everything to the system32 directory [DestinationDirs] BITS_files_install = 11 BITS_files_uninstall = 11
;no skip and no version check [BITS_files_install] qmgr.dll,,6 qmgrprxy.dll,,6 bitsprx2.dll,,6 ; winhttp5.dll,,6
;set security descriptor on the installed files [BITS_files_install.Security] "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
[BITS_files_uninstall] qmgr.dll qmgrprxy.dll bitsprx2.dll
[BITS_regkeys_install] ; 0x10001 maps to FLG_ADDREG_TYPE_DWORD ; 0x10008 maps to ( FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND ) ; 0x20000 maps to FLG_ADDREG_TYPE_EXPAND_SZ
; Service keys HKLM,"SYSTEM\CurrentControlSet\Services\BITS\Parameters","ServiceDll",0x00020000,"%11%\qmgr.dll" HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SvcHost","netsvcs",0x00010008,"BITS" ; CLSID keys HKCR,"CLSID\{F087771F-D74F-4C1A-BB8A-E16ACA9124EA}",,0x00000000,%BITS_CLASS_NAME% HKCR,"CLSID\{F087771F-D74F-4C1A-BB8A-E16ACA9124EA}","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}" HKCR,"CLSID\{4991d34b-80a1-4291-83b6-3328366b9097}",,0x00000000,%BITS_CLASS_NAME% HKCR,"CLSID\{4991d34b-80a1-4291-83b6-3328366b9097}","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}" HKCR,"CLSID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}",,0x00000000,%LEGACY_BITS_CLASS_NAME% HKCR,"CLSID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
; Event logging keys ; ; 0x7 = EVENTLOG_ERROR_TYPE | EVENTLOG_WARNING_TYPE | EVENTLOG_INFORMATION_TYPE ; HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\BITS","TypesSupported", 0x00010001, 0x7 HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\BITS","CategoryCount", 0x00010001, 1 HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\BITS","CategoryMessageFile",0x00000000,"%11%\qmgr.dll" HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\BITS","EventMessageFile",0x00000000,"%11%\qmgr.dll"
; AppID keys HKCR,"AppID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}",,0x00000000,%BITS_DISPLAY_NAME% HKCR,"AppID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}","LocalService",0x00000000,"BITS" HKCR,"AppID\BITS","AppID",0x00000000,"{69AD4AEE-51BE-439b-A92C-86AE490E8B30}"
[BITS_delkeys_install] HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost\Drizzlegroup" HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost","Drizzlegroup" HKCR,"AppID\Drizzle" HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost\BITSgroup","AuthenticationCapabilities"
[BITS_regkeys_uninstall] HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost\BITSgroup" HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost","BITSgroup" HKCR,"CLSID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}" HKCR,"CLSID\{F087771F-D74F-4C1A-BB8A-E16ACA9124EA}" HKCR,"CLSID\{4991d34b-80a1-4291-83b6-3328366b9097}" HKCR,"AppID\{69AD4AEE-51BE-439b-A92C-86AE490E8B30}" HKCR,"AppID\BITS"
[BITS_service_entry] DisplayName="%BITS_DISPLAY_NAME%" Description="%BITS_DESCRIPTION%" ServiceType=32 StartType=3 ErrorControl=1 ServiceBinary="%11%\svchost.exe -k netsvcs" Dependencies="RpcSs"
[BITS_regsvr_dlls] 11,,qmgrprxy.dll,1 11,,bitsprx2.dll,1
[Strings] BITS_DISPLAY_NAME = "Background Intelligent Transfer Service" BITS_DESCRIPTION = "Transfers data between clients and servers in the background. If BITS is disabled, features such as Windows Update will not work correctly." BITS_CLASS_NAME = "Background Intelligent Transfer Control Class 1.0" LEGACY_BITS_CLASS_NAME = "Legacy Background Intelligent Transfer Control Class"
|