;
; WIAPFU.INF  -- Windows Image Acquisition (WIA) Still Image Setup File
; Copyright (c) 2005-2009 PFU Limited
; Manufacturer: PFU Limited
; fi-4340Cdj
;    for Windows (x64)

[Version]
;;Signature="$Windows NT$"
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Provider%
DriverVer=12/14/2009,9.22.200
CatalogFile=fi4340C-x64.cat
;;INFINFO=FUJITSU_STI_TWAIN_INF

[SourceDisksNames]
0 = %SRCDISK1%, "fjwia-x64.cab", 0000-0000
1 = %TwainDiskName%,,

[SourceDisksFiles]
fi4340-x64.dll=0
fi4340u-x64.dll=0
FJTWAIN.URL=0
fi4340ex-x64.dll=0
fi4340ex0409-x64.dll=0
fi4340ex0411-x64.dll=0
fi4340ex0407-x64.dll=0
fi4340ex040C-x64.dll=0
fi4340ex0410-x64.dll=0
fi4340ex0804-x64.dll=0
fi4340ex0C0A-x64.dll=0
;;Fjscmcpl-x64.dll =1
;;fjcp0409-x64.dll =1
;;fjcp0411-x64.dll =1
;;fjscmusd-x64.dll =1
;;fjscminf-x64.dll =1
;;fjtwain.url  =1

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
; By default, files will be copied to \windows\system.
DefaultDestDir=11 ; System directory
FI4340.CopyFiles=11
FI4340U.CopyFiles=11

[Manufacturer]
%Mfg%=Models,NTamd64

[Models.NTamd64]
%SCSI\FUJITSU_FI4340Cd________0.DeviceDesc% = FI4340.Scanner, FUJITSU_fi-4340Cd_______0
%SCSI\FUJITSU_FI4340Cdi_______0.DeviceDesc% = FI4340.Scanner, FUJITSU_fi-4340Cdi______0
%SCSI\FUJITSU_FI4340Cdj_______0.DeviceDesc% = FI4340.Scanner, FUJITSU_fi-4340Cdj______0
%SCSI\FUJITSU_FI4340Cdij______0.DeviceDesc% = FI4340.Scanner, FUJITSU_fi-4340Cdij_____0
%SCSI\FUJITSU_FI4340Cde_______0.DeviceDesc% = FI4340.Scanner, FUJITSU_fi-4340Cde______0
%SCSI\FUJITSU_FI4340Cdei______0.DeviceDesc% = FI4340.Scanner, FUJITSU_fi-4340Cdei_____0
%SCSI\FUJITSU_FI4340Cdej______0.DeviceDesc% = FI4340.Scanner, FUJITSU_fi-4340Cdej_____0
%SCSI\FUJITSU_FI4340Cdeij_____0.DeviceDesc% = FI4340.Scanner, FUJITSU_fi-4340Cdeij____0
%USB\FUJITSU_fi-4340CdjU______0.DeviceDesc% = FI4340U.Scanner,USB\VID_04C5&PID_10CF

;---------------------------------------- Win (x64) section ----------------------------------------

[FI4340.Scanner]
Include=sti.inf
Needs=STI.SCSISection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
; STI_GENCAP_SUBSET, STI_GENCAP_WIA, 0, 0, 0, 0: 
Capabilities=0x33
Events=FI4340.Events
DeviceData=FI4340.DeviceData 
AddReg=FI4340.Scanner.AddReg
CopyFiles=FI4340.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"

[FI4340U.Scanner]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
; STI_GENCAP_SUBSET, STI_GENCAP_WIA, 0, 0, 0, 0: 
Capabilities=0x33
Events=FI4340U.Events
DeviceData=FI4340U.DeviceData 
AddReg=FI4340U.Scanner.AddReg
CopyFiles=FI4340U.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"

[FI4340.Scanner.Services]
Include=sti.inf
Needs=STI.SCSISection.Services

[FI4340U.Scanner.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[FI4340.Scanner.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"scsiscan.sys"
HKR,,HardwareConfig,1,2
HKR,,USDClass,,"{9416333B-5227-430d-BDE4-787EF7623F17}"
HKCR,CLSID\{9416333B-5227-430d-BDE4-787EF7623F17},,,"fi-4340C STI USD"
HKCR,CLSID\{9416333B-5227-430d-BDE4-787EF7623F17}\InProcServer32,,,%11%\fi4340-x64.dll
HKCR,CLSID\{9416333B-5227-430d-BDE4-787EF7623F17}\InProcServer32,ThreadingModel,,"Both" ; Apartment
HKCR,CLSID\{8B55F50F-07DB-4c41-96CE-1C3BEA398383},,,"ShellExt Class"
HKCR,CLSID\{8B55F50F-07DB-4c41-96CE-1C3BEA398383}\InProcServer32,,,%11%\fi4340ex-x64.dll
HKCR,CLSID\{8B55F50F-07DB-4c41-96CE-1C3BEA398383}\InProcServer32,ThreadingModel,,"Apartment"
HKCR,CLSID\{BB09335A-EE7A-429d-993C-0D8AE78F6183}\shellex\PropertySheetHandlers\{8B55F50F-07DB-4c41-96CE-1C3BEA398383},,,"PfuExt extension"

[FI4340U.Scanner.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{AD9137B1-B0E1-4f28-A29B-8391D47A6BE8}"
HKCR,CLSID\{AD9137B1-B0E1-4f28-A29B-8391D47A6BE8},,,"fi-4340C USB STI USD"
HKCR,CLSID\{AD9137B1-B0E1-4f28-A29B-8391D47A6BE8}\InProcServer32,,,%11%\fi4340u-x64.dll
HKCR,CLSID\{AD9137B1-B0E1-4f28-A29B-8391D47A6BE8}\InProcServer32,ThreadingModel,,"Both" ; Apartment
HKCR,CLSID\{8B55F50F-07DB-4c41-96CE-1C3BEA398383},,,"ShellExt Class"
HKCR,CLSID\{8B55F50F-07DB-4c41-96CE-1C3BEA398383}\InProcServer32,,,%11%\fi4340ex-x64.dll
HKCR,CLSID\{8B55F50F-07DB-4c41-96CE-1C3BEA398383}\InProcServer32,ThreadingModel,,"Apartment"
HKCR,CLSID\{BB09335A-EE7A-429d-993C-0D8AE78F6183}\shellex\PropertySheetHandlers\{8B55F50F-07DB-4c41-96CE-1C3BEA398383},,,"PfuExt extension"


;---------------------------------------- Common section ----------------------------------------
[FI4340.DeviceData]
Server=local
UI Class ID={BB09335A-EE7A-429d-993C-0D8AE78F6183}
Polltimeout=0x3E8,1
TwainDS="FUJITSU fi-4340Cdj"
ISIS="fi4340.PXN"

[FI4340U.DeviceData]
Server=local
UI Class ID={BB09335A-EE7A-429d-993C-0D8AE78F6183}
Polltimeout=0x3E8,1
TwainDS="FUJITSU fi-4340Cdj"
ISIS="fi4340.PXN"


; ---------------------------------------------
; FJTWAIN Event Data
; ---------------------------------------------
[FI4340.Events]
StartButton		= %StartButton%,	{A6C5A715-8C6E-11d2-977A-0000F87A926F},Not Used

[FI4340U.Events]
StartButton		= %StartButton%,	{A6C5A715-8C6E-11d2-977A-0000F87A926F},Not Used


; ---------------------------------------------
; File copy section
; ---------------------------------------------
[FI4340.CopyFiles]
fi4340-x64.dll     ;Ignore version check and always copy file
fi4340ex-x64.dll
fi4340ex0409-x64.dll
fi4340ex0411-x64.dll
fi4340ex0407-x64.dll
fi4340ex040C-x64.dll
fi4340ex0410-x64.dll
fi4340ex0804-x64.dll
fi4340ex0C0A-x64.dll
FJTWAIN.url

[FI4340U.CopyFiles]
fi4340u-x64.dll    ;Ignore version check and always copy file
fi4340ex-x64.dll
fi4340ex0409-x64.dll
fi4340ex0411-x64.dll
fi4340ex0407-x64.dll
fi4340ex040C-x64.dll
fi4340ex0410-x64.dll
fi4340ex0804-x64.dll
fi4340ex0C0A-x64.dll
FJTWAIN.url

; ---------------------------------------------
; String define
; ---------------------------------------------

[Strings]
SRCDISK1="WIA Fujitsu fi-4340Cdj Disk 1"
Provider="FUJITSU"
;;Mfg="FUJITSU" ; "PFU Limited"
Mfg="FUJITSU"
TimeChanged="File Time Changed"
SizeChanged="File Size Changed"
;;SCSIScanner.SvcDesc="SCSI Scanner Driver" ; or "Scanner device"
SCSIScanner.SvcDesc="SCSI Scanner Driver"
;;SCSI\FUJITSU_fi-4340Cdj______0.DeviceDesc = "fi-4340Cd"
;;USBScanner.SvcDesc="USB Scanner Driver" ; or "Scanner device"
USBScanner.SvcDesc="USB Scanner Driver"
USB\FUJITSU_fi-4340CdjU______0.DeviceDesc = "fi-4340Cd"
StartButton="Start button pressed"
ScanButton="Scan button pressed"
INFINFO="FUJITSU_STI_TWAIN_INF"
INFINFO2="FUJITSU_WIA_TWAIN_INF"
TwainDiskName="FJTWAIN Scanner drivers disk"
SCSI\FUJITSU_FI4340Cd________0.DeviceDesc="fi-4340Cd"
SCSI\FUJITSU_FI4340Cdi_______0.DeviceDesc="fi-4340Cdi"
SCSI\FUJITSU_FI4340Cdj_______0.DeviceDesc="fi-4340Cdj"
SCSI\FUJITSU_FI4340Cdij______0.DeviceDesc="fi-4340Cdij"
SCSI\FUJITSU_FI4340Cde_______0.DeviceDesc="fi-4340Cde"
SCSI\FUJITSU_FI4340Cdei______0.DeviceDesc="fi-4340Cdei"
SCSI\FUJITSU_FI4340Cdej______0.DeviceDesc="fi-4340Cdej"
SCSI\FUJITSU_FI4340Cdeij_____0.DeviceDesc="fi-4340Cdeij"
Platform="-x64"
