;75PU.INF

[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%IPC%
DriverVer=01/01/2010,3.0.1.2
CatalogFile=75PU.cat

[SourceDisksNames]
1=%DisksName%

[SourceDisksFiles]
usbscan.sy_=1
mic-75PU.dll=1
AutoSet.dll=1
GetInst32.dll=1
PkWiaDrv20_75P.dll=1
PkSegFilter.dll=1
PkImgFilter.dll=1
PkWiaError.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%=IPCProduct,USB\VID_07b3&PID_0477

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

[Models.NTx86.6.0]
%IPCProduct%=IPCProduct_NT60,USB\VID_07b3&PID_0477

;=======for Windows XP before=======
[IPCProduct]
AddReg=IPCProduct.AddReg.9x,IPCProduct_UsbScan.AddReg
;Copyfiles=CopyUsbScan
Copyfiles=CopySetupFile,CopyUsbScan

[IPCProduct.NT]
DriverVer=01/01/2010,3.0.1.2
Include=sti.inf
Needs=STI.USBSection
AddReg=IPCProduct.AddReg,IPCProduct_UsbScan.AddReg

[IPCProduct.NT.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

[CopySetupFile]
AutoSet.dll,,,32

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

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

;==========for Windows XP============
[IPCProduct_NT51]
DriverVer=01/01/2010,3.0.1.2
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="Uniscan FS631 -Ref.icm"

[WinXPCopyFile]
mic-75PU.dll

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

[IPCProduct_NT51.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[IPCProduct.AddReg]
HKLM,%InfInfo%,"SetupRegKey",,"Software\Uniscan\75PU"
HKLM,%InfInfo%,"CommandLine",,"75P"
HKLM,%InfInfo%,"Execution File",,"Install.exe"

[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-75PU.dll"
UI DLL=sti.dll
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}

;=====for Windows Vista later=======
[IPCProduct_NT60]
DriverVer=01/01/2010,3.0.1.2
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x31
;Events=PKWIADriver.Events
DeviceData=PKWIADriver.DeviceData
AddReg=IPCProduct_NT60.AddReg,IPCProduct_NT60_Wia.AddReg
Copyfiles=Win60CopyFile
ICMProfiles="Uniscan FS631 -Ref.icm"


[PKWIADriver.Events]

[PKWIADriver.DeviceData]
UI Class ID={0E354ADA-1E99-4ee4-B7FB-C20B8649794A}
;StoragePath=%10%\ServiceProfiles\LocalService\Documents\WIADRIVER\STORAGE

[IPCProduct_NT60.AddReg]
HKLM,%InfInfo%,"SetupRegKey",,"Software\Uniscan\75PU"
HKLM,%InfInfo%,"CommandLine",,"75P"
HKLM,%InfInfo%,"Execution File",,"Install.exe"

[IPCProduct_NT60_Wia.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbscan.sys
HKR,,HardwareConfig,1,4
HKLM,%RK_WIA%,FullPath,,%11%\%FN_PkWiaDrv20%

HKR,,USDClass,,"{29FA996D-91E6-4728-805E-8B1A8BDD68FC}"
HKCR,CLSID\{29FA996D-91E6-4728-805E-8B1A8BDD68FC},,,"Extended WIA Driver"
HKCR,CLSID\{29FA996D-91E6-4728-805E-8B1A8BDD68FC}\InProcServer32,,,%11%\%FN_PkWiaDrv20%
HKCR,CLSID\{29FA996D-91E6-4728-805E-8B1A8BDD68FC}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{0E354ADA-1E99-4ee4-B7FB-C20B8649794A},,,"WIA Driver UI Extension"
HKCR,CLSID\{0E354ADA-1E99-4ee4-B7FB-C20B8649794A}\shellex\SegmentationFilter\{150c3c05-d00c-4e68-b9a7-108879df7605}
HKCR,CLSID\{0E354ADA-1E99-4ee4-B7FB-C20B8649794A}\shellex\ImageProcessingFilter\{FD1FA12A-A733-41e9-AEE9-359F859D3165}
HKCR,CLSID\{0E354ADA-1E99-4ee4-B7FB-C20B8649794A}\shellex\ErrorHandler\{f6e88a9f-1728-41bf-b649-cc43c2ecab19}
;;;HKCR,CLSID\{0E354ADA-1E99-4ee4-B7FB-C20B8649794A}\shellex\WiaDialogExtensionHandlers\{b831bb2e-0147-43c8-8b59-d602aa1e33c0}

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"

;HKCR,CLSID\{b831bb2e-0147-43c8-8b59-d602aa1e33c0},,,"WIA Dialog Extension Handler"
;HKCR,CLSID\{b831bb2e-0147-43c8-8b59-d602aa1e33c0}\InProcServer32,,,%11%\%FN_PkWiaUI%
;HKCR,CLSID\{b831bb2e-0147-43c8-8b59-d602aa1e33c0}\InProcServer32,ThreadingModel,,"Both"


[Win60CopyFile]
PkWiaDrv20_75P.dll
PkSegFilter.dll
PkImgFilter.dll
PkWiaError.dll
;PkWiaUI_75P.dll

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

[IPCProduct_NT60.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[Strings]
IPC="UNIS"
IPCProduct="Uniscan FS631"
TwainDSName="Uniscan FS631"
RunOnce="Software\Microsoft\windows\CurrentVersion\RunOnce"
InfInfo="Software\USBSCAN INFO\Inf_Info"
RK_WIA="Software\Uniscan\75PU\Wia"
FN_MicroDriver="mic-75PU.dll"
FN_PkWiaDrv20="PkWiaDrv20_75P.dll"
FN_PkSegFilter="PkSegFilter.dll"
FN_PkImgFilter="PkImgFilter.dll"
FN_PkWiaError="PkWiaError.dll"
FN_PkWiaUI="PkWiaUI_75P.dll"
DisksName="USB Scanner CD-ROM"

;[ControlFlags]
;ExcludeFromSelect=*
