; Copyright (c) 2003,2005 UPEK, Inc.
; Manufacturer: UPEK, Inc.

[Version]
Signature="$Windows NT$"
Class=Biometric
ClassGUID={53D29EF7-377C-4D14-864B-EB3A85769359}
Provider=%Mfg%
DriverVer=11/15/2005,1.8.1.0055
CatalogFile=tcusb.cat

[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
tcusb.sys = 1

[Manufacturer]
%Mfg%=Models,NTx86.5.1

[Models]
; empty section to avoid installation on NT4, w2k and w9x

[Models.NTx86.5.1]
; XP and above
%USB\VID_0483&PID_2015.DeviceDesc%          = TcUsb.Dev,USB\VID_0483&PID_2015
%USB\VID_0483&PID_2015&MI_00.DeviceDesc%    = TcUsb.Dev,USB\VID_0483&PID_2015&MI_00
%USB\VID_0483&PID_2016.DeviceDesc%          = TcUsb.Dev,USB\VID_0483&PID_2016
%USB\VID_0483&PID_2016&MI_00.DeviceDesc%    = TcUsb.Dev,USB\VID_0483&PID_2016&MI_00
%USB\VID_147E&PID_2015.DeviceDesc%          = TcUsb.Dev,USB\VID_147E&PID_2015
%USB\VID_147E&PID_2015&MI_00.DeviceDesc%    = TcUsb.Dev,USB\VID_147E&PID_2015&MI_00
%USB\VID_147E&PID_2016.DeviceDesc%          = TcUsb.Dev,USB\VID_147E&PID_2016
%USB\VID_147E&PID_2016&MI_00.DeviceDesc%    = TcUsb.Dev,USB\VID_147E&PID_2016&MI_00
%USB\VID_147E&PID_1000.DeviceDesc%          = TcUsb.Dev,USB\VID_147E&PID_1000
%USB\VID_147E&PID_1000&MI_00.DeviceDesc%    = TcUsb.Dev,USB\VID_147E&PID_1000&MI_00

; biometry class installation is necessary despite of chkinf warning
[ClassInstall32]
AddReg=biometry_class_addreg

[biometry_class_addreg]
HKR,,,,Biometric
HKR,,Icon,,"-24"

[DestinationDirs]
TcUsb.Files.Ext = 10,System32\Drivers

[TcUsb.Dev.NTx86]
CopyFiles=TcUsb.Files.Ext
AddReg=TcUsb.AddReg

[TcUsb.Dev.NTx86.Services]
AddService = TcUsb, 0x00000002, TcUsb.AddService

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

[TcUsb.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,tcusb.sys

[TcUsb.Driver.AddReg]
HKR,"Parameters","SelectiveSuspendEnable",0x10001,1
HKR,"Parameters","SystemWakeupDisable",0x10001,1

[TcUsb.Files.Ext]
tcusb.sys

; strings
[Strings]
Mfg="UPEK"
DiskName="TC USB Driver Installation media"
USB\VID_0483&PID_2015&MI_00.DeviceDesc    = "TouchChip Fingerprint Reader"
USB\VID_0483&PID_2015.DeviceDesc          = "TouchChip Fingerprint Reader"
USB\VID_0483&PID_2016&MI_00.DeviceDesc    = "TouchChip Fingerprint Coprocessor"
USB\VID_0483&PID_2016.DeviceDesc          = "TouchChip Fingerprint Coprocessor"
USB\VID_147E&PID_2015&MI_00.DeviceDesc    = "TouchChip Fingerprint Reader"
USB\VID_147E&PID_2015.DeviceDesc          = "TouchChip Fingerprint Reader"
USB\VID_147E&PID_2016&MI_00.DeviceDesc    = "TouchChip Fingerprint Coprocessor"
USB\VID_147E&PID_2016.DeviceDesc          = "TouchChip Fingerprint Coprocessor"
USB\VID_147E&PID_1000&MI_00.DeviceDesc    = "TouchStrip Fingerprint Sensor"
USB\VID_147E&PID_1000.DeviceDesc          = "TouchStrip Fingerprint Sensor"
TcUsb.SvcDesc                             = "TC USB Kernel Driver"
