;
; 7B4U_x64.INF
;
; Copyright (c) 2011
; Manufacturer: Product.

[Version] 
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%IPC%
DriverVer=05/21/2009,3.0.0.0
LayoutFile=layout.inf
CatalogFile.ntamd64=7B4U_x64.cat

[SourceDisksNames]
1=%DisksName%,,,

[SourceDisksFiles]
WIA7B405.dll=1
GetInst64.dll=1

[DestinationDirs]
CopySetupFile=10
DefaultDestDir=11

[IPCProduct_NTamd64.AddReg]
HKLM,%InfInfo_64%,"SetupRegKey",,"Software\Wow6432Node\Plustek\7B4U"
HKLM,%InfInfo_64%,"CommandLine",,"7B4"
HKLM,%InfInfo_64%,"Execution File",,"Install.exe"

[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="WIA7B405.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_1004

[IPCProduct_NTamd64]
DriverVer=05/21/2009,3.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,IPCProduct_Wia_NTamd64.AddReg
Copyfiles=WinXPCopyFile
ICMProfiles="Sheetfed Scanner(74N).icm"

[WinXPCopyFile]
WIA7B405.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="Sheetfed Scanner(7B4)"
TwainDSName="Sheetfed Scanner(7B4)"
RunOnce="Software\Microsoft\windows\CurrentVersion\RunOnce"
InfInfo_64="Software\USBSCAN INFO\Inf_Info"
RK_WIA_64="Software\Wow6432Node\Plustek\7B4U\wia"
FN_Inf="7B4U_x64.inf"
FN_MicroDriver="WIA7B405.dll"
FN_STAMP="10040000"
FN_SIZE="2550,3508"
DisksName="Sheetfed Scanner CD-ROM"

;[ControlFlags]
;ExcludeFromSelect=*