;
; Copyright (c) DERMALOG Identification Systems GmbH
;

[Version]
	Signature="$Windows NT$"
	Class=Biometric
	ClassGUID={53D29EF7-377C-4D14-864B-EB3A85769359}
	CatalogFile=ZfWinUSB.cat
	Provider = %ProviderName%
	DriverVer=02/23/2010, 3.8.1008.0

[Manufacturer]
	%ProviderName% = ZF_WinUSB,NTamd64,NTx86



; ================ Register Class ================
[ClassInstall32]
	AddReg=ZF_WinUSB_AddClassReg

[ZF_WinUSB_AddClassReg]
	HKR,,,,%ClassName%
	HKR,,Icon,,"-21"

 

; =========== Specify supported devices ==========
[ZF_WinUSB.NTamd64]
	%USB\ZF1.DeviceDesc%	=USB_Install, USB\VID_1491&PID_9860
	%USB\F1.DeviceDesc%		=USB_Install, USB\VID_1FBA&PID_0013
	%USB\ZF2.DeviceDesc%	=USB_Install, USB\VID_1FBA&PID_0012

[ZF_WinUSB.NTx86]
	%USB\ZF1.DeviceDesc%	=USB_Install, USB\VID_1491&PID_9860
	%USB\F1.DeviceDesc%		=USB_Install, USB\VID_1FBA&PID_0013
	%USB\ZF2.DeviceDesc%	=USB_Install, USB\VID_1FBA&PID_0012

; ================= Installation =================
[USB_Install.NT]
	Include=winusb.inf
	Needs=WINUSB.NT

[USB_Install.NT.Services]
	Include=winusb.inf
	AddService  = WUDFRd, 0x000001f8, WUDFRD_ServiceInstall
	AddService  = WinUSB, 0x000001fa, WinUSB_ServiceInstall

; =================== WUDFRd section =============================

[WUDFRD_ServiceInstall]
	ServiceType     = %SERVICE_KERNEL_DRIVER%
	StartType       = %SERVICE_DEMAND_START%
	ErrorControl    = %SERVICE_ERROR_NORMAL%
	ServiceBinary   = %12%\WUDFRd.sys


[WinUSB_ServiceInstall]
	DisplayName     = %WinUSB_SvcDesc%
	ServiceType     = %SERVICE_KERNEL_DRIVER%
	StartType       = %SERVICE_DEMAND_START%
	ErrorControl    = %SERVICE_ERROR_NORMAL%
	ServiceBinary   = %12%\WinUSB.sys



[USB_Install.NT.Wdf]
	KmdfService=WINUSB, WinUsb_Install
	UmdfService=UmdfSection, UmdfSection_install
	UmdfServiceOrder=UmdfSection

[WinUSB_Install]
	KmdfLibraryVersion = 1.9

[UmdfSection_install]
	UMDFLibraryVersion = 1.9.0
	ServiceBinary      = %12%\umdf\winusb.dll
	DriverCLSID        = {ec0db5fc-48f8-49f3-880b-ee51bd0de8c6}	

[USB_Install.NT.HW]
	AddReg=Dev_AddReg

[Dev_AddReg]
	HKR,,DeviceInterfaceGUIDs,0x10000,{ec0db5fc-48f8-49f3-880b-ee51bd0de8c6}
	HKR,,"SurpriseRemovalOK",0x10001,1
	HKR,,"Removable",0x10001,1
	HKR,,"RemovalPolicy",0x10001,3



[USB_Install.NT.CoInstallers]
	AddReg=CoInstallers_AddReg
	CopyFiles=CoInstallers_CopyFiles

[CoInstallers_AddReg]
	HKR,,CoInstallers32,0x00010000,"WinUSBCoInstaller2.dll","WUDFUpdate_01009.dll","WdfCoInstaller01009.dll,WdfCoInstaller"

[CoInstallers_CopyFiles]
	WinUSBCoInstaller2.dll
	WdfCoInstaller01009.dll
	WUDFUpdate_01009.dll
	
[DestinationDirs]
	CoInstallers_CopyFiles=11


; =========== Source Media Section ===============
[SourceDisksNames]
	1 = %DISK_NAME%,,,
	
[SourceDisksFiles.x86]
	WinUSBCoInstaller2.dll=1,x86
	WdfCoInstaller01009.dll=1,x86
	WUDFUpdate_01009.dll=1,x86

[SourceDisksFiles.amd64]
	WinUSBCoInstaller2.dll=1,amd64
	WdfCoInstaller01009.dll=1,amd64
	WUDFUpdate_01009.dll=1,amd64


; =================== Strings ====================
[Strings]
	ClassName      		= "Personal identification devices"
	ProviderName   		= "DERMALOG Identification Systems GmbH"
	DISK_NAME      		= "DERMALOG Drivers Installation Disk (Fingerprint Scanner)"
	WinUSB_SvcDesc 		= "WinUSB Driver"

	USB\ZF1.DeviceDesc	= "DERMALOG Fingerprint Scanner ZF1"
	USB\F1.DeviceDesc	= "DERMALOG Fingerprint Scanner F1"
	USB\ZF2.DeviceDesc	= "DERMALOG Fingerprint Scanner ZF2"
	
	SERVICE_DEMAND_START            = 0x3
	SERVICE_KERNEL_DRIVER           = 0x1
	SERVICE_ERROR_NORMAL            = 0x1


