;
; Scanner driver
;
; Copyright (C) Jolimark Ltd. 2016

[Version]
Signature           = "$Windows NT$"
Class               = USB
ClassGUID           = {36FC9E60-C465-11CF-8056-444553540000}
Provider            = %Mfg%
DriverVer           = 08/03/2016,1.0.0.2
CatalogFile.NTx86   = JMSCAN01a.cat
CatalogFile.NTamd64 = JMSCAN01b.cat

[Manufacturer]
%Mfg% = Models, NT.5.0, NT.6.0, NTia64

[Models.NT.5.0]
%DeviceDesc% = USB_Install_xp, USB\VID_1BA0&PID_2402

[Models.NT.6.0]
%DeviceDesc% = USB_Install_vista, USB\VID_1BA0&PID_2402

[Models.NTia64]
; not support

[USB_Install_xp]
Include = winusb.inf

[USB_Install_vista]
Include = winusb.inf
Needs   = WINUSB.NT

[USB_Install_xp.Services]
Include     = winusb.inf
AddService  = WinUSB,0x00000002,WinUSB_ServiceInstall

[USB_Install_vista.Services]
Include     = winusb.inf
AddService  = WinUSB,0x00000002,WinUSB_ServiceInstall

[WinUSB_ServiceInstall]
DisplayName     = %WinUSB_SvcDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WinUSB.sys

[USB_Install_xp.Wdf]
KmdfService = WINUSB, WinUSB_Install

[USB_Install_vista.Wdf]
KmdfService = WINUSB, WinUSB_Install

[WinUSB_Install]
KmdfLibraryVersion  = 1.9

[USB_Install_xp.HW]
AddReg  = Dev_AddReg

[USB_Install_vista.HW]
AddReg  = Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}"

[USB_Install_xp.CoInstallers]
AddReg    = CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles

[USB_Install_vista.CoInstallers]
AddReg    = CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles

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

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

[SourceDisksNames.x86]
1 = %DiskName%,,,\i386

[SourceDisksNames.amd64]
1 = %DiskName%,,,\amd64

[SourceDisksFiles]
WinUSBCoInstaller2.dll  = 1
WdfCoInstaller01009.dll = 1

[Strings]
Mfg                         = "Jolimark"
DiskName                    = "Jolimark Scanner Setup Disk"
DeviceDesc                  = "Jolimark Scanner"
ClassName                   = "Jolimark USB Device"
WinUSB_SvcDesc              = "WinUsb Driver"

[Strings.0804] ; Chinese
Mfg                         = "映美"
DiskName                    = "映美扫描设备安装盘"
DeviceDesc                  = "映美扫描仪"
ClassName                   = "映美USB设备"
WinUSB_SvcDesc              = "WinUsb Driver"
