; 294U.INF
;
; ADF Duplex Scanner device setup information
;
; Copyright (c) 2012

[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%IPC%
DriverVer=11/11/2011,4.1.0.0
CatalogFile=294U.cat

;=====Common=======
[SourceDisksNames]
1=%DisksName%,,,

[SourceDisksFiles]
usbscan.sy_=1
AutoSet.dll=1
GetInst32.dll=1

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

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

[CoInstaller_CopyFiles]
GetInst32.dll

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

[InstallInfo]
OriginalInfSourcePath = %1%

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

[Models]
%IPCProduct_294%=IPCProduct_294,USB\VID_07b3&PID_0e27

[Models.NTx86.5.1]
%IPCProduct_294%=IPCProduct_294_NT51,USB\VID_07b3&PID_0e27

[Models.NTx86.6.0]
%IPCProduct_294%=IPCProduct_294_NT60,USB\VID_07b3&PID_0e27

;=====for Windows XP before=======


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



[IPCProduct_294.NT]
DriverVer=11/11/2011,4.1.0.0
Include=sti.inf
Needs=STI.USBSection
AddReg=IPCProduct_294.AddReg,IPCProduct_UsbScan.AddReg
;Copyfiles=CopySetupFile


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


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



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

[CopySetupFile]
AutoSet.dll,,,32

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



[IPCProduct_294.AddReg.9x]
HKLM,%RunOnce%,"RunSetup",,"RunDll32.exe AutoSet.dll,fnRun USBSCAN INFO,Uniscan\294U"
HKLM,%InfInfo%,"SetupProgram",,"%1%\Install32.exe"
HKLM,%InfInfo%,"SetupExist",,"%1%\Model.ini"
HKLM,%InfInfo%,"CommandLine",,"294"
HKLM,%InfInfo%,"SetupCaption",,"%IPCProduct_294% Scanner Setup"
HKLM,%InfInfo%,"SetupErrorExist",,"Please insert the %IPCProduct_294% Setup / Application CD-ROM into your CD-ROM drive."

;=====for Windows XP=======


[IPCProduct_294_NT51]
DriverVer=11/11/2011,4.1.0.0
Include=sti.inf
Needs=STI.USBSection,STI.MICRODRIVERSection
SubClass=StillImage
DeviceType=1
Capabilities=0x31
DeviceData=IPCProduct_294.DeviceData.WIA
AddReg=IPCProduct_294.AddReg,IPCProduct_294_Wia.AddReg
;Copyfiles=WinXPCopyFile_294
ICMProfiles="ADF Scanner(294).icm"



[WinXPCopyFile_294]
;mic-294U.dll


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


[IPCProduct_294_NT51.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles 


[IPCProduct_294.AddReg]
HKLM,%InfInfo%,"SetupRegKey",,"Software\Uniscan\294U"
HKLM,%InfInfo%,"CommandLine",,"294"
HKLM,%InfInfo%,"Execution File",,"Install32.exe"



[IPCProduct_294_Wia.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbscan.sys
HKR,,HardwareConfig,1,4
HKLM,%InfInfo%,"Temp_WiaDriver",,%FN_MicroDriver_294%
HKLM,%RK_WIA_294%,PathName,,%11%\%FN_MicroDriver_294%
HKLM,%RK_WIA_294%,TICKSBUTTON,0x00010001,250
HKLM,%RK_WIA_294%,WHQL,0x00010001,0
HKLM,%RK_WIA_294%,Brightness,0x00010001,0
HKLM,%RK_WIA_294%,Contrast,0x00010001,0


[IPCProduct_294.DeviceData.WIA]
TwainDS=%TwainDSName_294%
ISISDriverName="sn8016u.pxn"
Server=local
MicroDriver="mic-294U.dll"
UI DLL=sti.dll
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}

;=====for Windows Vista later=======


[IPCProduct_294_NT60]
DriverVer=11/11/2011,4.1.0.0
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x31
;Events=PKWIADriver.Events
DeviceData=PKWIADriver_294.DeviceData
AddReg=IPCProduct_294_NT60.AddReg,IPCProduct_294_NT60_Wia.AddReg
;Copyfiles=Win60CopyFile_294_WIA
ICMProfiles="ADF Scanner(294).icm"

[PKWIADriver.Events]


[PKWIADriver_294.DeviceData]
UI Class ID={F970BCD3-5828-4a0f-B287-E0E55FA41158}
ISISDriverName="sn8016u.pxn"
;StoragePath=%10%\ServiceProfiles\LocalService\Documents\WIADRIVER\STORAGE


[IPCProduct_294_NT60.AddReg]
HKLM,%InfInfo%,"SetupRegKey",,"Software\Uniscan\294U"
HKLM,%InfInfo%,"CommandLine",,"294"
HKLM,%InfInfo%,"Execution File",,"Install32.exe"


[IPCProduct_294_NT60_Wia.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbscan.sys
HKR,,HardwareConfig,1,4
HKLM,%RK_WIA_294%,FullPath,,%11%\%FN_PkWiaDrv20_294%
HKLM,%RK_WIA_294%,Brightness,0x00010001,0
HKLM,%RK_WIA_294%,Contrast,0x00010001,0

HKR,,USDClass,,"{34333F93-0ADF-4d0e-99D2-667A2C09E17G}"
HKCR,CLSID\{34333F93-0ADF-4d0e-99D2-667A2C09E17G},,,"Extended WIA Driver"
HKCR,CLSID\{34333F93-0ADF-4d0e-99D2-667A2C09E17G}\InProcServer32,,,%11%\%FN_PkWiaDrv20_294%
HKCR,CLSID\{34333F93-0ADF-4d0e-99D2-667A2C09E17G}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{F970BCD3-5828-4a0f-B287-E0E55FA41158},,,"WIA Driver UI Extension"
HKCR,CLSID\{F970BCD3-5828-4a0f-B287-E0E55FA41158}\shellex\SegmentationFilter\{150c3c05-d00c-4e68-b9a7-108879df7605}
HKCR,CLSID\{F970BCD3-5828-4a0f-B287-E0E55FA41158}\shellex\ImageProcessingFilter\{FD1FA12A-A733-41e9-AEE9-359F859D3165}
HKCR,CLSID\{F970BCD3-5828-4a0f-B287-E0E55FA41158}\shellex\ErrorHandler\{f6e88a9f-1728-41bf-b649-cc43c2ecab19}
;;;HKCR,CLSID\{F970BCD3-5828-4a0f-B287-E0E55FA41158}\shellex\WiaDialogExtensionHandlers\{b831bb2e-0147-43c8-8b59-d602aa1e33c0}
HKCR,CLSID\{F970BCD3-5828-4a0f-B287-E0E55FA41158}\shellex\PropertySheetHandlers\{B831BB2E-0147-43c8-8B59-D602AA1E33C0}

HKCR,CLSID\{B831BB2E-0147-43c8-8B59-D602AA1E33C0},,,"Uniscan WIA UI Extension"
HKCR,CLSID\{B831BB2E-0147-43c8-8B59-D602AA1E33C0}\InProcServer32,,,%11%\%FN_PkWiaScanUI%
HKCR,CLSID\{B831BB2E-0147-43c8-8B59-D602AA1E33C0}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{150c3c05-d00c-4e68-b9a7-108879df7605},,,"WIA Segmentation Filter"
HKCR,CLSID\{150c3c05-d00c-4e68-b9a7-108879df7605}\InProcServer32,,,%11%\%FN_PkSegFilter%
HKCR,CLSID\{150c3c05-d00c-4e68-b9a7-108879df7605}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{FD1FA12A-A733-41e9-AEE9-359F859D3165},,,"WIA Image Processing Filter"
HKCR,CLSID\{FD1FA12A-A733-41e9-AEE9-359F859D3165}\InProcServer32,,,%11%\%FN_PkImgFilter%
HKCR,CLSID\{FD1FA12A-A733-41e9-AEE9-359F859D3165}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{f6e88a9f-1728-41bf-b649-cc43c2ecab19},,,"WIA Error Handler"
HKCR,CLSID\{f6e88a9f-1728-41bf-b649-cc43c2ecab19}\InProcServer32,,,%11%\%FN_PkWiaError%
HKCR,CLSID\{f6e88a9f-1728-41bf-b649-cc43c2ecab19}\InProcServer32,ThreadingModel,,"Both"


[Win60CopyFile_294_WIA]
;PkWiaDrv20_294.dll
;PkSegFilter.dll
;PkImgFilter.dll
;PkWiaError.dll
;PkWiaScanUI.dll


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


[IPCProduct_294_NT60.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[Strings]
IPC="UNIS"
IPCProduct_294="Uniscan A3 Q-Scanner"
TwainDSName_294="Uniscan A3 Q-Scanner"
RunOnce="Software\Microsoft\windows\CurrentVersion\RunOnce"
InfInfo="Software\USBSCAN INFO\Inf_Info"
RK_WIA_294="Software\Uniscan\294U\Wia"
FN_MicroDriver_294="mic-294U.dll"
FN_PkWiaDrv20_294="PkWiaDrv20_294.dll"
FN_PkWiaScanUI="PkWiaScanUI.dll"
FN_PkSegFilter="PkSegFilter.dll"
FN_PkImgFilter="PkImgFilter.dll"
FN_PkWiaError="PkWiaError.dll"
DisksName="Duplex ADF Scanner CD-ROM"

;[ControlFlags]
;ExcludeFromSelect=*
