;
; B6BU_x64.INF
;
; Copyright (c) Plustek Inc.
; Manufacturer: Plustek Inc.

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

[SourceDisksNames]
1=%DisksName%,,,

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

[DestinationDirs]
CopySetupFile=10
DefaultDestDir=11

[IPCProduct_NTamd64.AddReg]
HKLM,%InfInfo_64%,"SetupRegKey",,"Software\Wow6432Node\Plustek\B6BU"
HKLM,%InfInfo_64%,"CommandLine",,"B6B"
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="WIAB6B05.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_0c26

[IPCProduct_NTamd64]
DriverVer=05/02/2007,2.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="Book Scanner(B6B).icm"

[WinXPCopyFile]
WIAB6B05.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="Plustek"
IPCProduct="OpticBook 4600"
TwainDSName="OpticBook 4600"
RunOnce="Software\Microsoft\windows\CurrentVersion\RunOnce"
InfInfo_64="Software\USBSCAN INFO\Inf_Info"
RK_WIA_64="SOFTWARE\Wow6432Node\Plustek\B6BU\Wia"
FN_Inf="B6BU_x64.inf"
FN_MicroDriver="WIAB6B05.dll"
FN_STAMP="11000000"
FN_SIZE="2550,3508"
DisksName="Plustek Book Scanner CD-ROM"

;[ControlFlags]
;ExcludeFromSelect=*