;/*++
;
;Copyright (c) 1990-1999 Microsoft Corporation All rights Reserved
;
;Module Name:
;
;    tsusbhub.INF
;
;Abstract:
;    INF file for installing TS USB Hub bus enumerator driver
;
;Installation Notes:
;    Using Devcon: Type "devcon install tsusbhub.inf root\tsusbhub" to install
;
;--*/
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%MSFT%
DriverVer=06/21/2006,6.1.7601.17514
;CatalogFile=delta.CAT


[DestinationDirs]
DefaultDestDir = 12

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
tsusbhub.sys  = 1,,

;*****************************************
; TsUsbHub  Install Section
;*****************************************

[Manufacturer]
%StdMfg%=Standard,NTx86

; For XP and later
[Standard.NTx86]
%TsUsbHubXDynamicBus.DeviceDesc%=TsUsbHubXDynamicBus_Device, root\tsusbhub
%TsUsbHubXDynamicBus.DeviceDesc%=TsUsbHubXDynamicBus_Device, UMB\TS_URB_HUB

[TsUsbHubXDynamicBus_Device.NT]
CopyFiles=Drivers_Dir

[TsUsbHubXDynamicBus_Device.NT.HW]
AddReg=TsUsbHubXDynamicBus_Device.NT.AddReg

[TsUsbHubXDynamicBus_Device.NT.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system 

[Drivers_Dir]
tsusbhub.sys


;-------------- Service installation
[TsUsbHubXDynamicBus_Device.NT.Services]
AddService = tsusbhub,%SPSVCINST_ASSOCSERVICE%, tsusbhub_Service_Inst, TsUsbHub_EventLog_Inst

[TsUsbHub_EventLog_Inst]
AddReg = TsUsbHub_EventLog_AddReg

[TsUsbHub_EventLog_AddReg]
;
; GUID is copied from TerminalServices-USBRedirector.man
;
HKR, , ProviderGuid, 0x20000, "{dcbe5aaa-16e2-457c-9337-366950045f0a}"

; -------------- tsusbhub driver install sections
[tsusbhub_Service_Inst]
DisplayName    = %tsusbhub.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\tsusbhub.sys
LoadOrderGroup = Extended Base


;
;--- TsUsbHubXDynamicBus_Device Coinstaller installation ------
;
[DestinationDirs]
;TsUsbHubXDynamicBus_Device_CoInstaller_CopyFiles = 11

[TsUsbHubXDynamicBus_Device.NT.CoInstallers]
;AddReg=TsUsbHubXDynamicBus_Device_CoInstaller_AddReg
;CopyFiles=TsUsbHubXDynamicBus_Device_CoInstaller_CopyFiles

[TsUsbHubXDynamicBus_Device_CoInstaller_AddReg]
;HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01007.dll,WdfCoInstaller"

[TsUsbHubXDynamicBus_Device_CoInstaller_CopyFiles]
;WdfCoInstaller01007.dll

[SourceDisksFiles]
;WdfCoInstaller01007.dll=1 ; make sure the number matches with SourceDisksNames

[TsUsbHubXDynamicBus_Device.NT.Wdf]
KmdfService = tsusbhub, tsusbhub_wdfsect
[tsusbhub_wdfsect]
KmdfLibraryVersion = 1.9


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "(Standard system devices)"
DiskId1 = "Remote Desktop USB HUB Installation Disk #1"
TsUsbHubXDynamicBus.DeviceDesc = "Remote Desktop USB Hub"
tsusbhub.SVCDESC = "Remote Deskotop USB Hub"
