;
; 71RU_x64.INF
;
; Copyright (c) Plustek Inc.
; Manufacturer: Plustek Inc.

[Version] 
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%IPC%
DriverVer=01/01/2007,1.0.0.0
LayoutFile=layout.inf
CatalogFile.ntamd64=71RU_X64.cat

[SourceDisksNames]
1=%DisksName%,,,

[SourceDisksFiles]
usbscan.sy_=1
WIA71R02.dll=1
GetInst64.dll=1

[DestinationDirs]
CopySetupFile=10
CopyUsbScan=11
DefaultDestDir=11

[CopyUsbScan]
usbscan.sys,usbscan.sy_,,32

[CopySetupFile]

[IPCProduct_NTamd64.AddReg]
HKLM,%InfInfo_64%,"SetupRegKey",,"Software\Flatbed scanner\71R\USB"
HKLM,%InfInfo_64%,"CommandLine",,"71R"
HKLM,%InfInfo_64%,"Execution File",,"Install.exe"

[IPCProduct_UsbScan.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"Usbscan.sys"

[IPCProduct_Sti.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,usbscan.sys

[IPCProduct_Wia_NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbscan.sys
HKR,,HardwareConfig,1,4
;HKLM,%InfInfo_64%,"Temp_WiaDriver",,%FN_MicroDriver%
;HKLM,%RK_WIA_64%,PathName,,%11%\%FN_MicroDriver%
;HKLM,%RK_WIA_64%,STAMP,,%FN_STAMP%
;HKLM,%RK_WIA_64%,SIZE,,%FN_SIZE%
;HKLM,%RK_WIA_64%,WHQL,0x00010001,1

[IPCProduct.DeviceData.WIA]
;TwainDS=%TwainDSName%
;Server=local
MicroDriver="WIA71R02.dll"
;UI DLL=sti.dll
;UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}

[Manufacturer]
%IPC%=Models,NTamd64

[Models.NTamd64]
%IPCProduct%=IPCProduct_NTamd64,USB\VID_07B3&PID_0464

[IPCProduct]
AddReg=IPCProduct.AddReg,IPCProduct_UsbScan.AddReg,IPCProduct_Sti.AddReg
Copyfiles=CopySetupFile,CopyUsbScan

[CoInstaller_CopyFiles]
GetInst64.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"GetInst64.dll,GetInfoCoInstaller"

[IPCProduct_NTamd64]
DriverVer=01/01/2007,1.0.0.0
Include=sti.inf
Needs=STI.USBSection,STI.MICRODRIVERSection
;SubClass=StillImage
;DeviceType=1
;Capabilities=0x31
;DeviceData=IPCProduct.DeviceData.WIA
AddReg=IPCProduct_NTamd64.AddReg
Copyfiles=CopySetupFile,WinXPCopyFile
ICMProfiles="sRGB Color Space Profile.icm"

[WinXPCopyFile]
;WIA71R02.dll

[IPCProduct_NTamd64.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[IPCProduct_NTamd64.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
GetInst64.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"GetInst64.dll,GetInfoCoInstaller"

[InstallInfo]
OriginalInfSourcePath = %1%

[Strings]
IPC="Product"
IPCProduct="USB Scanner"
TwainDSName="USB Scanner"
RunOnce="Software\Microsoft\windows\CurrentVersion\RunOnce"
InfInfo_64="Software\USBSCAN INFO\Inf_Info"
RK_WIA_64="Software\Flatbed scanner\71R\USB\Wia"
FN_Inf="71RU_X64.inf"
;FN_MicroDriver="WIA71R02.dll"
;FN_STAMP="01000000"
;FN_SIZE="2550,3507"
DisksName="USB Scanner CD-ROM"

;[ControlFlags]
;ExcludeFromSelect=*