;
; 7B4U.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.ntx86=7B4U.cat

[SourceDisksNames]
1=%DisksName%,,,

[SourceDisksFiles]
usbscan.sy_=1
mic-7B4U.dll=1
AutoSet.dll=1
GetInst32.dll=1

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

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

[CopySetupFile]
AutoSet.dll,,,32

[IPCProduct.AddReg.9x]
HKLM,%RunOnce%,"RunSetup",,"RunDll32.exe AutoSet.dll,fnRun USBSCAN INFO,Plustek\7B4U"
HKLM,%InfInfo%,"SetupProgram",,"%1%\Install.exe"
HKLM,%InfInfo%,"SetupExist",,"%1%\Model.ini"
HKLM,%InfInfo%,"CommandLine",,"7B4"
HKLM,%InfInfo%,"SetupCaption",,"%IPCProduct% Scanner Setup"
HKLM,%InfInfo%,"SetupErrorExist",,"Please insert the %IPCProduct% Scanner Setup / Application CD-ROM into your CD-ROM drive."

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

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

[IPCProduct_Wia.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbscan.sys
HKR,,HardwareConfig,1,4
HKLM,%InfInfo%,"Temp_WiaDriver",,%FN_MicroDriver%
HKLM,%RK_WIA%,PathName,,%11%\%FN_MicroDriver%
HKLM,%RK_WIA%,TICKSBUTTON,0x00010001,250
HKLM,%RK_WIA%,WHQL,0x00010001,0

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

[Manufacturer]
%IPC%=Models,NTx86.5.1

[Models]
%IPCProduct%=IPCProduct,USB\VID_07b3&PID_1004

[Models.NTx86.5.1]
%IPCProduct%=IPCProduct_NT51,USB\VID_07b3&PID_1004

[IPCProduct]
AddReg=IPCProduct.AddReg.9x,IPCProduct_UsbScan.AddReg
Copyfiles=CopySetupFile,CopyUsbScan

[IPCProduct.NT]
DriverVer=05/21/2009,3.0.0.0
Include=sti.inf
Needs=STI.USBSection
AddReg=IPCProduct.AddReg,IPCProduct_UsbScan.AddReg
;Copyfiles=CopySetupFile

[IPCProduct.NT.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[IPCProduct_NT51]
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.AddReg,IPCProduct_Wia.AddReg
Copyfiles=WinXPCopyFile
ICMProfiles="Sheetfed Scanner(74N).icm"


[WinXPCopyFile]
mic-7B4U.dll

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

[IPCProduct.CoInstallers]
;AddReg=CoInstaller_AddReg
;CopyFiles=CoInstaller_CopyFiles

[IPCProduct.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[IPCProduct_NT51.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
GetInst32.dll

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

[InstallInfo]
OriginalInfSourcePath = %1%

[Strings]
IPC="Product"
IPCProduct="Sheetfed Scanner(7B4)"
TwainDSName="Sheetfed Scanner(7B4)"
RunOnce="Software\Microsoft\windows\CurrentVersion\RunOnce"
InfInfo="Software\USBSCAN INFO\Inf_Info"
RK_WIA="Software\Plustek\7B4U\Wia"
FN_MicroDriver="mic-7B4U.dll"
DisksName="Sheetfed Scanner CD-ROM"

;[ControlFlags]
;ExcludeFromSelect=*