; Installation inf for the Realtek WUSB solutions
;
; (c) Copyright 2006 Realtek
;

[Version]
Signature="$CHICAGO$"
Class=UWBPCI
ClassGUID={95C6ACC6-0065-4CE7-98DF-D8B14324D67F}
provider=%REALTEK%
DriverVer=10/16/2009,6.1101.1016.2009
CatalogFile = rtwusb6.cat

[SourceDisksNames]
1="Realtek WUSB solution disk",,,


[SourceDisksFiles]
RTURC.sys = 1
RTWHCI.sys = 1
RTCBAF.sys = 1
RealtekRes.dll = 1

[Manufacturer]
%MfgName%=Realtek,NTamd64

; -------------- device id's for RTHWA and RTURC
[Realtek.NTamd64]
;%RealtekHWA%=RTHWA.Dev,			USB\VID_0BDA&PID_7302&MI_00 ; HWA
;%RealtekURC%=RTURC.Dev,			USB\VID_0BDA&PID_7302&MI_01 ; hwa radio

;%GenericHWA%=RTHWA.Dev,			USB\CLASS_E0&SUBCLASS_02&PROT_01 ; HWA
;%GenericURC%=RTURC.Dev,			USB\CLASS_E0&SUBCLASS_01&PROT_02 ; hwa radio

%RealtekCBAF%=RTCBAF.Dev,		USB\VID_0BDA&PID_7106     
%GenericCBAF%=RTCBAF.Dev,		USB\CLASS_EF&SUBCLASS_03&PROT_01

;%GenericDWA%=RTDWA.Dev,			USB\CLASS_E0&SUBCLASS_02&PROT_02
;%RealtekDWA%=RTDWA.Dev,			USB\VID_0BDA&PID_7105

;%GenericRTHUB%=RTHUB.Dev,		USB\Vid_0bda&Pid_7107

%GenericRTWHCI%= RTWHCI.Dev,    UWBPCI\VEN_10EC&DEV_7305&REV_01

[ClassInstall32]
Addreg=UwbPciReg
CopyFiles=UwbPciCopyFiles

[UwbPciReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-27
HKR,,IconPath,,"%SystemRoot%\System32\RealtekRes.dll,-12"
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

[UwbPciCopyFiles]
RealtekRes.dll

[DestinationDirs]
RTHWA.Dev.NT.Copy  = 10,System32\Drivers
RTURC.Dev.NT.Copy  = 10,System32\Drivers
RTCBAF.Dev.NT.Copy = 10,System32\Drivers
RTDWA.Dev.NT.Copy  = 10,System32\Drivers
RTHUB.Dev.NT.Copy  = 10,System32\Drivers
RTWHCI.Dev.NT.Copy  = 10,System32\Drivers

[RTHWA.Dev.NT]
CopyFiles=RTHWA.Dev.NT.Copy	

[RTURC.Dev.NT]
CopyFiles=RTURC.Dev.NT.Copy

[RTCBAF.Dev.NT]
CopyFiles=RTCBAF.Dev.NT.Copy

[RTDWA.Dev.NT]
CopyFiles=RTDWA.Dev.NT.Copy

[RTHUB.Dev.NT]
CopyFiles=RTHUB.Dev.NT.Copy

[RTWHCI.Dev.NT]
CopyFiles=RTWHCI.Dev.NT.Copy

; copy all the drivers to the Destination directory
[RTHWA.Dev.NT.Copy]
RTHWA.sys

[RTURC.Dev.NT.Copy]
RTURC.sys

[RTCBAF.Dev.NT.Copy]
RTCBAF.sys

[RTDWA.Dev.NT.Copy]
RTDWA.sys

[RTHUB.Dev.NT.Copy]
RTHUB.sys

[RTWHCI.Dev.NT.Copy]
RTWHCI.sys

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[RTHWA.Dev.NT.Services]
Addservice = RTHWA, 0x00000002, RTHWA.AddService ; 2 indicates that this is an FDO driver

[RTHWA.AddService]
DisplayName    = %RTHWA.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\RTHWA.sys
AddReg         = RTHWA.AddReg
LoadOrderGroup = Extended base

[RTHWA.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,RTHWA.sys

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[RTURC.Dev.NT.Services]
Addservice = RTURC, 0x00000002, RTURC.AddService

[RTURC.AddService]
DisplayName    = %RTURC.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\RTURC.sys
AddReg         = RTURC.AddReg
LoadOrderGroup = Base

[RTURC.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,RTURC.sys

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[RTCBAF.Dev.NT.Services]
Addservice = RTCBAF, 0x00000002, RTCBAF.AddService

[RTCBAF.AddService]
DisplayName    = %RTCBAF.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\RTCBAF.sys
AddReg         = RTCBAF.AddReg
LoadOrderGroup = Base

[RTCBAF.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,RTCBAF.sys

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[RTDWA.Dev.NT.Services]
Addservice = RTDWA, 0x00000002, RTDWA.AddService

[RTDWA.AddService]
DisplayName    = %RTDWA.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\RTDWA.sys
AddReg         = RTDWA.AddReg
LoadOrderGroup = Base

[RTDWA.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,RTDWA.sys

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[RTHUB.Dev.NT.Services]
Addservice = RTHUB, 0x00000002, RTHUB.AddService

[RTHUB.AddService]
DisplayName    = %RTHUB.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\RTHUB.sys
AddReg         = RTHUB.AddReg
LoadOrderGroup = Base

[RTHUB.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,RTHUB.sys

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[RTWHCI.Dev.NT.Services]
Addservice = RTWHCI, 0x00000002, RTWHCI.AddService

[RTWHCI.AddService]
DisplayName    = %RTWHCI.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\RTWHCI.sys
AddReg         = RTWHCI.AddReg
LoadOrderGroup = Base

[RTWHCI.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,RTWHCI.sys




;---------------------------------------------------------------;

[Strings]
REALTEK="Realtek"
MfgName="Realtek"
ClassName = "UWBPCI"

; RTHWA
RealtekHWA="Realtek HWA"
GenericHWA="Realtek HWA"
RTHWA.SvcDesc="Realtek HWA Data interface driver"

; RTURC
RealtekURC="Realtek HWA Radio Control"
GenericURC="Realtek URC"
RTURC.SvcDesc="Realtek HWA Radio control interface driver"

; CBAF
RealtekCBAF="Realtek WHCI CBAF"
GenericCBAF="Realtek WHCI CBAF"
RTCBAF.SvcDesc="Realtek WHCI Cable Association driver"


; DWA
RealtekDWA="Realtek DWA"
GenericDWA="Realtek DWA"
RTDWA.SvcDesc="Realtek DWA Data interface driver"


; RTHUB
GenericRTHUB="Realtek HUB"
RTHUB.SvcDesc="Realtek USB Hub driver"


; RTWHCI
GenericRTWHCI="Realtek WHCI"
RTWHCI.SvcDesc="Realtek WHCI driver"
