;
; Installation file (.inf) for the SecuGen FDU04 and SDU04P fingerprint devices.
;
; (c) Copyright 2006-2012 SecuGen Corp. 

[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf  
Signature="$Chicago$"                            ;win9x, winnt
Provider=%SecuGen%
Class=%BiometricClassName%
ClassGuid={53D29EF7-377C-4D14-864B-EB3A85769359}
DriverVer=08/30/2012,2.4.1.1
CatalogFile.NT=sgfdu04.cat

[ClassInstall32]
Addreg=BiometricClassReg

[BiometricClassReg]
HKR,,,0,%BiometricClassName%
HKR,,Icon,,-20

[PreCopySection]
HKR,,NoSetupUI,,1

[SourceDisksNames]
1 = %DISK1%,,,

[SourceDisksFiles]
SGFdu04d.sys=1,,
sgfdu04m.dll=1,,

[DestinationDirs]
DefaultDestDir=10,System32\Drivers
SGFDU04.Files.Ext = 10,System32\Drivers
SGFDU04.Files.Dll = 11			; 9x - System Dir, NT - System32 Dir

[ControlFlags]
;ExcludeFromSelect=*             ; removes all device here from the device installer list

[Manufacturer]
%SecuGen%=SecuGen

[SecuGen]
;-------------------------------------------------------------------------------------
; FDU04A, SecuGen USB Fx2 mega sensor Fingerprint device, 2006.7
;-------------------------------------------------------------------------------------
%USB\VID_1162&PID_0330.DeviceDesc%=SGFDU04, USB\VID_1162&PID_0330

;-------------------------------------------------------------------------------------
; SDU04P, 2011.9
;-------------------------------------------------------------------------------------
%USB\VID_1162&PID_2000.DeviceDesc%=SGFDU04, USB\VID_1162&PID_2000


; =================== FDU04 USB FRD Driver ===================
;---------------
; For Win98...
;---------------
[SGFPUSBHid]
Include=hiddev.inf
Needs=USBHIDDevice

[SGFPUSBComposite]
Include=usb.inf
Needs=composite.dev

[SGFDU04]
CopyFiles=SGFDU04.Files.Ext, SGFDU04.Files.Dll
AddReg=SGFDU04.AddReg

[SGFDU04.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,SGFdu04d.sys

[SGFDU04.Files.Ext]
SGFdu04d.sys

[SGFDU04.Files.Dll]
sgfdu04m.dll


;-------------------
; For Windows NT...
;-------------------
; HID
[SGFPUSBHid.NT]
Include=input.inf
Needs=HID_Inst.NT

[SGFPUSBHid.NT.Services]
Include=input.inf
Needs=HID_Inst.NT.Services

; composite
[SGFPUSBComposite.NT]
Include=usb.inf
Needs= Composite.Dev.NT

[SGFPUSBComposite.NT.Services]
Include=usb.inf
Needs=Composite.Dev.NT.Services

; FRD
[SGFDU04.NT]
CopyFiles=SGFDU04.Files.Ext, SGFDU04.Files.Dll

[SGFDU04.NT.Services]
Addservice = SGFDU04, 0x00000002, SGFDU04_AddService_Inst 

[SGFDU04_AddService_Inst]
DisplayName    = %SGFDU04.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 1                  ; SERVICE_SYSTEM_START 
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary  = %12%\SGFdu04d.sys

[Strings]
SecuGen="SecuGen Corporation"
DISK1="SecuGen Installation Disk"
SGFDU04.SvcDesc="SecuGen USB FDU04 Service"
BiometricClassName="Biometric"
USB\VID_1162&PID_0330.DeviceDesc="SecuGen FDU04A USB mega FRD"
USB\VID_1162&PID_2000.DeviceDesc="SecuGen SDU04P USB FRD"




