[Version]
Signature="$WINDOWS NT$"
Class=USBSTUBDRIVER
ClassGuid={B85B7C50-6A01-11d2-B841-00C04FAD5171}
Provider=%SN%
DriverVer=01/14/2009,1.0.0.1
CatalogFile.ntx86=udsstub_x86.cat

[DestinationDirs]
DefaultDestDir = 12
USBShareClassInstallerCopyFiles = 11

; ================= Class section =====================

[ClassInstall32]
Addreg=USBShareClassReg     
CopyFiles=USBShareClassInstallerCopyFiles

[USBShareClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,100
HKR,,DeviceCharacteristics,0x10001,0x100        ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)" ;Allow generic all access to system and built-in Admin. 
                                             ;This one overrides the security set by the driver

;*****************************************
; USBShare Device  Install Section
;*****************************************

[Manufacturer]
%StdMfg%=Standard

[Standard]
; DisplayName       		Section           DeviceId
; -----------       		-------           --------
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_00
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_01
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_02
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_03
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_04
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_05
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_06
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_07
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_08
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_09
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_0a
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_0b
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_0c
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_0d
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_0e
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_0f
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_dc
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_e0
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_ef
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_fe
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\Class_ff
%USBShareDevice.DeviceDesc%=USBShare_Device, USB\COMPOSITE


[USBShare_Device.NT]
CopyFiles=USBShare_Device.NT.Copy

[USBShare_Device.NT.Copy]
udsstub.sys

;-------------- Service installation

[USBShare_Device.NT.Services]
AddService = udsstub, %SPSVCINST_ASSOCSERVICE%, USBShare_Service_Inst

; -------------- USBShare Driver install sections
[USBShare_Service_Inst]
DisplayName    = %USBShare.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\udsstub.sys
LoadOrderGroup = Extended Base

[MySection]
MySpecialFlag

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

[SourceDisksFiles]
udsstub.sys  = 1,,

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
SN = "SysNucleus"
StdMfg = "(Standard system devices)"
ClassName = "USBDeviceShare USB Device Stub"
DiskId1 = "USBDeviceShare Installation"
USBShareDevice.DeviceDesc = "USBDeviceShare USB Device Stub"
USBShare.SVCDESC = "USBDeviceShare USB Device Stub"
