; fxtsn2a.inf     Version 1.0.0.0
; Fuji Xerox DocuPrint M255 df
; Color Scanner's setup file.
; Copyright (c) 2012. All rights reserved.


[Version]
Signature="$Chicago$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
DriverVer=04/27/2012,1.0.0.6
CatalogFile=wiadriver.cat
;LayoutFile=LAYOUT.INF,LAYOUT1.INF,LAYOUT2.INF

[SourceDisksFiles.x86]
fxtsn2awia.dll=96
fxtsn2awiaex.dll=96
fxtsn2aimgfilter.dll=96
fxtsn2aimghelper.dll=96
fxqsreg.dll=96

fxtsn2atwn.ds=97
fxtsn2aENGtwn.chm=97
fxtsn2aCHStwn.chm=97
fxtsn2aCHTtwn.chm=97
fxtsn2aKORtwn.chm=97
;fxtsn2aN.icm=97
fxtsn2anet.dll=97
fxtsn2aDm.dll=97
fxtsn2acl.dll=97

[SourceDisksNames.x86]
1=%Location%,,,
96 = "SCAN_X86",fxtsn2aX86.CAB,,
97 = "SCAN_COMMON",fxtsn2aCOMMON.CAB,,

[SourceDisksFiles.amd64]
fxtsn2awia.dll=99
fxtsn2awiaex.dll=99
fxtsn2aimgfilter.dll=99
fxtsn2aimghelper.dll=99
fxqsreg.dll=99

fxtsn2atwn.ds=98
fxtsn2aENGtwn.chm=98
fxtsn2aCHStwn.chm=98
fxtsn2aCHTtwn.chm=98
fxtsn2aKORtwn.chm=98
;fxtsn2aN.icm=98
fxtsn2anet.dll=98
fxtsn2aDm.dll=98
fxtsn2acl.dll=98
fxtsn2aDm64.dll=98
fxtsn2acl64.dll=98

[SourceDisksNames.amd64]
2=%Location%,,,
98 = "SCAN_COMMON",fxtsn2aCOMMON.CAB,,
99 = "SCAN_AMD64",fxtsn2aAMD64.CAB,,

[DestinationDirs]
DefaultDestDir=11
TWAINDRIVER.CopyFiles=10,"twain_32\Fuji Xerox DocuPrint M255 df"
TWAINDRIVER.amd64.CopyFiles=10,"twain_32\Fuji Xerox DocuPrint M255 df"
ICM.CopyFiles=23

TWAINDRIVER.Delfiles=10,"twain_32\Fuji Xerox DocuPrint M255 df"
TWAINDRIVER.amd64.Delfiles=10,"twain_32\Fuji Xerox DocuPrint M255 df"
ICM.Delfiles=23 

[Manufacturer]
%Mfg%=Models, NTx86.5, NTx86.6, NTamd64.5, NTamd64.6

[Models.NTx86.5]
%SCANNER.WIA1.0.DeviceDesc% = SCANNER.WIA1.0DRIVER.ntx86,  USB\VID_0550&PID_012F&MI_00

[Models.NTx86.6]
%SCANNER.WIA2.0.DeviceDesc% = SCANNER.WIA2.0DRIVER.ntx86,  USB\VID_0550&PID_012F&MI_00

[Models.NTamd64.5]
%SCANNER.WIA1.0.DeviceDesc% = SCANNER.WIA1.0DRIVER.ntamd64,  USB\VID_0550&PID_012F&MI_00

[Models.NTamd64.6]
%SCANNER.WIA2.0.DeviceDesc% = SCANNER.WIA2.0DRIVER.ntamd64,  USB\VID_0550&PID_012F&MI_00

;------------------------------------------------------ 32-bit Windows XP & 2003 Server DDInstall Section ------------------------------------------------------
[SCANNER.WIA1.0DRIVER.ntx86]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x31
Events=WIADRIVER.Events
DeviceData=SCANNER.WIA1.0DRIVER.DeviceData
AddReg=SCANNER.WIA1.0DRIVER.AddReg
;DelReg=SCANNER.WIA1.0DRIVER.DelReg
CopyFiles=SCANNER.WIA1.0DRIVER.CopyFiles,TWAINDRIVER.CopyFiles,ICM.CopyFiles
Delfiles=SCANNER.WIA1.0DRIVER.Delfiles,TWAINDRIVER.Delfiles,ICM.Delfiles
ICMProfiles="sRGB Color Space Profile.icm"
RegisterDlls=SCANNER.RegisterDlls

[SCANNER.WIA1.0DRIVER.ntx86.Services]
Include=sti.inf
Needs=STI.USBSection.Services


;------------------------------------------------------ 64 bit Windows XP & 2003 Server DDInstall Section -------------------------------------------------
[SCANNER.WIA1.0DRIVER.ntamd64]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x31
Events=WIADRIVER.Events
DeviceData=SCANNER.WIA1.0DRIVER.amd64.DeviceData
AddReg=SCANNER.WIA1.0DRIVER.AddReg
;DelReg=SCANNER.WIA1.0DRIVER.DelReg
CopyFiles=SCANNER.WIA1.0DRIVER.CopyFiles,TWAINDRIVER.CopyFiles,TWAINDRIVER.amd64.CopyFiles,ICM.CopyFiles
Delfiles=SCANNER.WIA1.0DRIVER.Delfiles,TWAINDRIVER.Delfiles,TWAINDRIVER.amd64.Delfiles,ICM.Delfiles
ICMProfiles="sRGB Color Space Profile.icm"
RegisterDlls=SCANNER.RegisterDlls

[SCANNER.WIA1.0DRIVER.ntamd64.Services]
Include=sti.inf
Needs=STI.USBSection.Services


;------------------------------------------------------ 32-bit Windows Vista & 2008 Server DDInstall Section ----------------------------------------------------
[SCANNER.WIA2.0DRIVER.ntx86]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x31
Events=WIADRIVER.Events
DeviceData=SCANNER.WIA2.0DRIVER.DeviceData
AddReg=SCANNER.WIA2.0DRIVER.AddReg
;DelReg=SCANNER.WIA2.0DRIVER.DelReg
CopyFiles=SCANNER.WIA2.0DRIVER.CopyFiles,TWAINDRIVER.CopyFiles,ICM.CopyFiles
Delfiles=SCANNER.WIA2.0DRIVER.Delfiles,TWAINDRIVER.Delfiles,ICM.Delfiles
ICMProfiles="sRGB Color Space Profile.icm"
RegisterDlls=SCANNER.RegisterDlls

[SCANNER.WIA2.0DRIVER.ntx86.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;------------------------------------------------------ 64-bit Windows Vista & 2008 Server DDInstall Section -----------------------------------------------
[SCANNER.WIA2.0DRIVER.ntamd64]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x31
Events=WIADRIVER.Events
DeviceData=SCANNER.WIA2.0DRIVER.amd64.DeviceData
AddReg=SCANNER.WIA2.0DRIVER.AddReg
;DelReg=SCANNER.WIA2.0DRIVER.DelReg
CopyFiles=SCANNER.WIA2.0DRIVER.CopyFiles,TWAINDRIVER.CopyFiles,TWAINDRIVER.amd64.CopyFiles,ICM.CopyFiles
Delfiles=SCANNER.WIA2.0DRIVER.Delfiles,TWAINDRIVER.Delfiles,TWAINDRIVER.amd64.Delfiles,ICM.Delfiles
ICMProfiles="sRGB Color Space Profile.icm"
RegisterDlls=SCANNER.RegisterDlls

[SCANNER.WIA2.0DRIVER.ntamd64.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;------------------------------------------------------------- Events ------------------------------------------------------------
[WIADRIVER.Events]
%ScanButton.Desc%=%ScanButton.Desc%,{A6C5A715-8C6E-11d2-977A-0000F87A926F},*

;----------------------------------------------------------- DeviceData ----------------------------------------------------------
[SCANNER.WIA1.0DRIVER.DeviceData]
Server=local
LLDPath=%10%\twain_32\Fuji Xerox DocuPrint M255 df\fxtsn2aDm.dll
TwainDS="FX DP M255 df/z (TWAIN)"

[SCANNER.WIA1.0DRIVER.amd64.DeviceData]
Server=local
LLDPath=%10%\twain_32\Fuji Xerox DocuPrint M255 df\fxtsn2aDm64.dll
TwainDS="FX DP M255 df/z (TWAIN)"

[SCANNER.WIA2.0DRIVER.DeviceData]
Server=local
UI Class ID={ECE9D87D-2A10-481c-9447-E950983D8343}
LLDPath=%10%\twain_32\Fuji Xerox DocuPrint M255 df\fxtsn2aDm.dll
TwainDS="FX DP M255 df/z (TWAIN)"

[SCANNER.WIA2.0DRIVER.amd64.DeviceData]
Server=local
UI Class ID={ECE9D87D-2A10-481c-9447-E950983D8343}
LLDPath=%10%\twain_32\Fuji Xerox DocuPrint M255 df\fxtsn2aDm64.dll
TwainDS="FX DP M255 df/z (TWAIN)"

;-------------------------------------------------------- Add Register --------------------------------------------------------
[SCANNER.AddReg]

[SCANNER.WIA1.0DRIVER.AddReg]
HKR,,USDClass,,"{17DAD94E-EC85-437d-930A-B032DEEE3B0F}"
HKCR,CLSID\{17DAD94E-EC85-437d-930A-B032DEEE3B0F},,,"Fuji Xerox DocuPrint M255 df WIA 1.0 Minidriver"
HKCR,CLSID\{17DAD94E-EC85-437d-930A-B032DEEE3B0F}\InProcServer32,,,%11%\fxtsn2awia.dll
HKCR,CLSID\{17DAD94E-EC85-437d-930A-B032DEEE3B0F}\InProcServer32,ThreadingModel,,Both

[SCANNER.WIA2.0DRIVER.AddReg]
HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{57FF6FF0-9596-4440-B9C5-543B003691CC}"
HKCR,CLSID\{57FF6FF0-9596-4440-B9C5-543B003691CC},,,"Fuji Xerox DocuPrint M255 df WIA 2.0 Minidriver"
HKCR,CLSID\{57FF6FF0-9596-4440-B9C5-543B003691CC}\InProcServer32,,,%11%\fxtsn2awia.dll
HKCR,CLSID\{57FF6FF0-9596-4440-B9C5-543B003691CC}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{ECE9D87D-2A10-481c-9447-E950983D8343},,,"WIA Driver UI Extension"
HKCR,CLSID\{ECE9D87D-2A10-481c-9447-E950983D8343}\shellex\ImageProcessingFilter\{5B65044B-11EC-42bb-A09F-6DB0F0BC1E52}

HKCR,CLSID\{5B65044B-11EC-42bb-A09F-6DB0F0BC1E52},,,"WIA Image Processing Filter"
HKCR,CLSID\{5B65044B-11EC-42bb-A09F-6DB0F0BC1E52}\InProcServer32,,,%11%\fxtsn2aimgfilter.dll
HKCR,CLSID\{5B65044B-11EC-42bb-A09F-6DB0F0BC1E52}\InProcServer32,ThreadingModel,,"Both"

[SCANNER.RegisterDlls]
11,,fxqsreg.dll,1
;-------------------------------------------------------- Delete Register --------------------------------------------------------


;-------------------------------------------------------- Copy Files --------------------------------------------------------
[SCANNER.STIDRIVER.CopyFiles]

[SCANNER.WIA1.0DRIVER.CopyFiles]
fxtsn2awia.dll
fxqsreg.dll

[SCANNER.WIA2.0DRIVER.CopyFiles]
fxtsn2awia.dll,fxtsn2awiaex.dll
fxtsn2aimgfilter.dll
fxtsn2aimghelper.dll
fxqsreg.dll

[TWAINDRIVER.CopyFiles]
fxtsn2atwn.ds
fxtsn2aENGtwn.chm
fxtsn2aCHStwn.chm
fxtsn2aCHTtwn.chm
fxtsn2aKORtwn.chm
fxtsn2anet.dll
fxtsn2aDm.dll
fxtsn2acl.dll

[TWAINDRIVER.amd64.CopyFiles]
fxtsn2aDm64.dll
fxtsn2acl64.dll

[ICM.CopyFiles]
;fxtsn2aN.icm

;-------------------------------------------------------- Delete Files --------------------------------------------------------
[SCANNER.STIDRIVER.Delfiles]
fxtsn2asti.dll

[SCANNER.WIA1.0DRIVER.Delfiles]
fxtsn2awia.dll
fxqsreg.dll

[SCANNER.WIA2.0DRIVER.Delfiles]
fxtsn2awia.dll
fxtsn2aimgfilter.dll
fxtsn2aimghelper.dll
fxqsreg.dll

[TWAINDRIVER.Delfiles]
fxtsn2aDm.dll
fxtsn2atwn.ds
fxtsn2aENGtwn.chm
fxtsn2aCHStwn.chm
fxtsn2aCHTtwn.chm
fxtsn2aKORtwn.chm
fxtsn2anet.dll
fxtsn2acl.dll

[TWAINDRIVER.amd64.Delfiles]
fxtsn2aDm64.dll
fxtsn2acl64.dll

[ICM.Delfiles]
;fxtsn2aN.icm

[Strings]
Mfg="Fuji Xerox"
Location="SourceDisk"
SCANNER.WIA1.0.DeviceDesc="FX DP M255 z (WIA)"
SCANNER.WIA2.0.DeviceDesc="FX DP M255 z (WIA)"
ScanButton.Desc="File Button"