;/*++
;
;Copyright (c) Broadcom Corporation.  All rights reserved.
;
;Module Name:
;
;    CVUSBDRV.INF
;
;Abstract:
;    Installation inf for CV USB Driver
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=CVAULT
ClassGuid={09E9A11D-CCB2-45ae-9BE8-65C263E60490}
Provider=%BRCM%
DriverVer=07/18/2008,6.0.6000.16386
CatalogFile=CVAULT.cat


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

[ClassInstall32]
Addreg=CvaultClassReg     

[CvaultClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5


; ================= Device section =====================

[Manufacturer]
%MfgName%=Broadcom,NTx86

; For Win2K
[Broadcom]
%USB\VID_0A5C&PID_0000.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_0000&MI_00
%USB\VID_0A5C&PID_5800.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_5800&MI_00
%USB\VID_0A5C&PID_5801.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_5801&MI_00
%USB\VID_0A5C&PID_5802.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_5802&MI_00
%USB\VID_0A5C&PID_5803.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_5803&MI_00
%USB\VID_0A5C&PID_5804.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_5804&MI_00
%USB\VID_0A5C&PID_5805.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_5805&MI_00

; For XP and later
[Broadcom.NTx86]
%USB\VID_0A5C&PID_0000.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_0000&MI_00
%USB\VID_0A5C&PID_5800.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_5800&MI_00
%USB\VID_0A5C&PID_5801.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_5801&MI_00
%USB\VID_0A5C&PID_5802.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_5802&MI_00
%USB\VID_0A5C&PID_5803.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_5803&MI_00
%USB\VID_0A5C&PID_5804.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_5804&MI_00
%USB\VID_0A5C&PID_5805.DeviceDesc%=cvusbdrv.Dev, USB\VID_0A5C&PID_5805&MI_00


[cvusbdrv.Dev.NT]
CopyFiles=cvusbdrv.Files.Ext


;[Switch.Dev.NT]
;;dummy section

;[Switch.Dev.NT.Services]
;AddService = , %SPSVCINST_ASSOCSERVICE%, 

[cvusbdrv.Dev.NT.Services]
Addservice = cvusbdrv, 2, cvusbdrv.AddService

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

[cvusbdrv.AddReg]
HKR, Parameters\Wdf, VerboseOn,       0x00010001, 1
HKR, Parameters\Wdf, VerifierOn,      0x00010001, 1
HKR, Parameters\Wdf, DbgBreakOnError, 0x00010001, 1

[cvusbdrv.Files.Ext]
cvusbdrv.sys

[SourceDisksNames]
1=%Disk_Description%,,,

[SourceDisksFiles]
cvusbdrv.sys = 1

[DestinationDirs]
DefaultDestDir = 12

;-------------- WDF Coinstaller installation

[DestinationDirs]
CoInstaller_CopyFiles = 11

[cvusbdrv.Dev.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoInstaller01005.dll

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

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01005.dll,WdfCoInstaller"

[cvusbdrv.Dev.NT.Wdf]
KmdfService = cvusbdrv, cvusbdrv_wdfsect
[cvusbdrv_wdfsect]
KmdfLibraryVersion = 1.5

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

[Strings]
BRCM="Broadcom"
MfgName="Broadcom Corporation"
Disk_Description="Broadcom USH CV(cvusbdrv) Installation Disk"
USB\VID_0A5C&PID_0000.DeviceDesc="Broadcom USH CV"
USB\VID_0A5C&PID_5800.DeviceDesc="Broadcom USH CV w/o Fingerprint Sensor"
USB\VID_0A5C&PID_5801.DeviceDesc="Broadcom USH CV w/ Fingerprint Swipe Sensor"
USB\VID_0A5C&PID_5802.DeviceDesc="Broadcom USH CV w/ Fingerprint Touch Sensor"
USB\VID_0A5C&PID_5803.DeviceDesc="Broadcom USH CV 0x5803"
USB\VID_0A5C&PID_5804.DeviceDesc="Broadcom USH CV 0x5804"
USB\VID_0A5C&PID_5805.DeviceDesc="Broadcom USH CV 0x5805"
cvusbdrv.SvcDesc="Broadcom USH CV"
ClassName       = "Credential Vault Device"

