[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=76EU.cat

[SourceDisksNames]
1=%DisksName%,,,

[SourceDisksFiles]
usbscan.sy_=1
midrv76E.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

[IPCProduct76E.AddReg.9x]
HKLM,%RunOnce%,"RunSetup",,"RunDll32.exe AutoSet.dll,fnRun USBSCAN INFO,sheetfed scanner\76E\USB"
HKLM,%InfInfo_76E%,"SetupProgram",,"%1%\Install.exe"
HKLM,%InfInfo_76E%,"SetupExist",,"%1%\Install.ini"
HKLM,%InfInfo_76E%,"CommandLine",,"76E"
HKLM,%InfInfo_76E%,"SetupCaption",,"USB Scanner Setup"
HKLM,%InfInfo_76E%,"SetupErrorExist",,"Please insert the USB Scanner Setup / Application CD-ROM into your CD-ROM drive."

[IPCProduct76E.AddReg]
HKLM,%InfInfo_76E%,"SetupRegKey",,"Software\sheetfed scanner\76E\USB"
HKLM,%InfInfo_76E%,"CommandLine",,"76E"
HKLM,%InfInfo_76E%,"Execution File",,"Install.exe"

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

[IPCProduct76E_Wia.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbscan.sys
HKR,,HardwareConfig,1,4
HKLM,%InfInfo_76E%,"Temp_WiaDriver",,%FN_MicroDriver_76E%
HKLM,%RK_WIA_76E%,PathName,,%11%\%FN_MicroDriver_76E%
HKLM,%RK_WIA_76E%,TICKSBUTTON,0x00010001,250
HKLM,%RK_WIA_76E%,WHQL,0x00010001,0

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

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

[Models]
%IPCProduct76E%=IPCProduct76E,USB\VID_07B3&PID_091E


[Models.NTx86.5.1]
%IPCProduct76E%=IPCProduct76E_NT51,USB\VID_07B3&PID_091E

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

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

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

[IPCProduct76E_NT51]
DriverVer=05/21/2009,3.0.0.0
Include=sti.inf
Needs=STI.USBSection,STI.MICRODRIVERSection
SubClass=StillImage
DeviceType=1
Capabilities=0x31
DeviceData=IPCProduct76E.DeviceData.WIA
AddReg=IPCProduct76E.AddReg,IPCProduct76E_Wia.AddReg
Copyfiles=WinXPCopyFile_76E
ICMProfiles="sRGB Color Space Profile.icm"

[WinXPCopyFile_76E]
midrv76E.dll

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

[IPCProduct76E.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

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

[IPCProduct76E_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"
IPCProduct76E="Plustek TR821"
TwainDSName="Plustek TR821"
RunOnce="Software\Microsoft\windows\CurrentVersion\RunOnce"
InfInfo_76E="Software\USBSCAN INFO\Inf_Info"
RK_WIA_76E="Software\Sheetfed scanner\76E\USB\Wia"
FN_MicroDriver_76E="midrv76E.dll"
DisksName="USB Scanner CD-ROM"

;[ControlFlags]
;ExcludeFromSelect=*