; xctsp4m.inf     Version 1.0.0.0
; Xerox WorkCentre 6027
; Color Scanner's setup file.
; Copyright (c) 2014. All rights reserved.


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

[SourceDisksFiles.x86]
xctsp4mwia.dll=96
xctsp4mwiaex.dll=96
xctsp4mimgfilter.dll=96
xctsp4mimghelper.dll=96
xctsp4mreg.dll=96

xctsp4mtwn.ds=97
xctsp4mENGtwn.chm=97
xctsp4mFRAtwn.chm=97
xctsp4mITAtwn.chm=97
xctsp4mDEUtwn.chm=97
xctsp4mESStwn.chm=97
xctsp4mDANtwn.chm=97
xctsp4mNLBtwn.chm=97
xctsp4mSVFtwn.chm=97
xctsp4mRUStwn.chm=97
xctsp4mTURtwn.chm=97
xctsp4mPTBtwn.chm=97
xctsp4mPOLtwn.chm=97
xctsp4mCZEtwn.chm=97
xctsp4mHUNtwn.chm=97
;xctsp4mN.icm=97
xctsp4mnet.dll=97
xctsp4mdm.dll=97
xctsp4mcl.dll=97

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

[SourceDisksFiles.amd64]
xctsp4mwia.dll=99
xctsp4mwiaex.dll=99
xctsp4mimgfilter.dll=99
xctsp4mimghelper.dll=99
xctsp4mreg.dll=99

xctsp4mtwn.ds=98
xctsp4mENGtwn.chm=98
xctsp4mFRAtwn.chm=98
xctsp4mITAtwn.chm=98
xctsp4mDEUtwn.chm=98
xctsp4mESStwn.chm=98
xctsp4mDANtwn.chm=98
xctsp4mNLBtwn.chm=98
xctsp4mSVFtwn.chm=98
xctsp4mRUStwn.chm=98
xctsp4mTURtwn.chm=98
xctsp4mPTBtwn.chm=98
xctsp4mPOLtwn.chm=98
xctsp4mCZEtwn.chm=98
xctsp4mHUNtwn.chm=98
;xctsp4mN.icm=98
xctsp4mnet.dll=98
xctsp4mdm.dll=98
xctsp4mcl.dll=98
xctsp4mdm64.dll=98
xctsp4mcl64.dll=98

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

[DestinationDirs]
DefaultDestDir=11
TWAINDRIVER.CopyFiles=10,"twain_32\Xerox WorkCentre 6027"
TWAINDRIVER.amd64.CopyFiles=10,"twain_32\Xerox WorkCentre 6027"
ICM.CopyFiles=23

TWAINDRIVER.Delfiles=10,"twain_32\Xerox WorkCentre 6027"
TWAINDRIVER.amd64.Delfiles=10,"twain_32\Xerox WorkCentre 6027"
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_0924&PID_42D4&MI_00

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

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

[Models.NTamd64.6]
%SCANNER.WIA2.0.DeviceDesc% = SCANNER.WIA2.0DRIVER.ntamd64,  USB\VID_0924&PID_42D4&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\Xerox WorkCentre 6027\xctsp4mdm.dll
TwainDS="Xerox WorkCentre 6027 (TWAIN)"

[SCANNER.WIA1.0DRIVER.amd64.DeviceData]
Server=local
LLDPath=%10%\twain_32\Xerox WorkCentre 6027\xctsp4mdm64.dll
TwainDS="Xerox WorkCentre 6027 (TWAIN)"

[SCANNER.WIA2.0DRIVER.DeviceData]
Server=local
UI Class ID={0E4D2202-67CE-4ecd-A30B-9EE332400D67}
LLDPath=%10%\twain_32\Xerox WorkCentre 6027\xctsp4mdm.dll
TwainDS="Xerox WorkCentre 6027 (TWAIN)"

[SCANNER.WIA2.0DRIVER.amd64.DeviceData]
Server=local
UI Class ID={0E4D2202-67CE-4ecd-A30B-9EE332400D67}
LLDPath=%10%\twain_32\Xerox WorkCentre 6027\xctsp4mdm64.dll
TwainDS="Xerox WorkCentre 6027 (TWAIN)"

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

[SCANNER.WIA1.0DRIVER.AddReg]
HKR,,USDClass,,"{072BD6D8-2DD1-415c-B6A6-10E0C6A1569F}"
HKCR,CLSID\{072BD6D8-2DD1-415c-B6A6-10E0C6A1569F},,,"Xerox WorkCentre 6027 WIA 1.0 Minidriver"
HKCR,CLSID\{072BD6D8-2DD1-415c-B6A6-10E0C6A1569F}\InProcServer32,,,%11%\xctsp4mwia.dll
HKCR,CLSID\{072BD6D8-2DD1-415c-B6A6-10E0C6A1569F}\InProcServer32,ThreadingModel,,Both

[SCANNER.WIA2.0DRIVER.AddReg]
HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{DEA3D533-D9C2-49e5-80E9-2856C5C11C99}"
HKCR,CLSID\{DEA3D533-D9C2-49e5-80E9-2856C5C11C99},,,"Xerox WorkCentre 6027 WIA 2.0 Minidriver"
HKCR,CLSID\{DEA3D533-D9C2-49e5-80E9-2856C5C11C99}\InProcServer32,,,%11%\xctsp4mwia.dll
HKCR,CLSID\{DEA3D533-D9C2-49e5-80E9-2856C5C11C99}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{0E4D2202-67CE-4ecd-A30B-9EE332400D67},,,"WIA Driver UI Extension"
HKCR,CLSID\{0E4D2202-67CE-4ecd-A30B-9EE332400D67}\shellex\ImageProcessingFilter\{3928C713-E3B7-4832-9403-AABD54B2822A}

HKCR,CLSID\{3928C713-E3B7-4832-9403-AABD54B2822A},,,"WIA Image Processing Filter"
HKCR,CLSID\{3928C713-E3B7-4832-9403-AABD54B2822A}\InProcServer32,,,%11%\xctsp4mimgfilter.dll
HKCR,CLSID\{3928C713-E3B7-4832-9403-AABD54B2822A}\InProcServer32,ThreadingModel,,"Both"

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


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

[SCANNER.WIA1.0DRIVER.CopyFiles]
xctsp4mwia.dll
xctsp4mreg.dll

[SCANNER.WIA2.0DRIVER.CopyFiles]
xctsp4mwia.dll,xctsp4mwiaex.dll
xctsp4mimgfilter.dll
xctsp4mimghelper.dll
xctsp4mreg.dll

[TWAINDRIVER.CopyFiles]
xctsp4mtwn.ds
xctsp4mENGtwn.chm
xctsp4mFRAtwn.chm
xctsp4mITAtwn.chm
xctsp4mDEUtwn.chm
xctsp4mESStwn.chm
xctsp4mDANtwn.chm
xctsp4mNLBtwn.chm
xctsp4mSVFtwn.chm
xctsp4mRUStwn.chm
xctsp4mTURtwn.chm
xctsp4mPTBtwn.chm
xctsp4mPOLtwn.chm
xctsp4mCZEtwn.chm
xctsp4mHUNtwn.chm
xctsp4mnet.dll
xctsp4mdm.dll
xctsp4mcl.dll

[TWAINDRIVER.amd64.CopyFiles]
xctsp4mdm64.dll
xctsp4mcl64.dll

[ICM.CopyFiles]
;xctsp4mN.icm

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

[SCANNER.WIA1.0DRIVER.Delfiles]
xctsp4mwia.dll
xctsp4mreg.dll

[SCANNER.WIA2.0DRIVER.Delfiles]
xctsp4mwia.dll
xctsp4mimgfilter.dll
xctsp4mimghelper.dll
xctsp4mreg.dll

[TWAINDRIVER.Delfiles]
xctsp4mdm.dll
xctsp4mtwn.ds
xctsp4mENGtwn.chm
xctsp4mFRAtwn.chm
xctsp4mITAtwn.chm
xctsp4mDEUtwn.chm
xctsp4mESStwn.chm
xctsp4mDANtwn.chm
xctsp4mNLBtwn.chm
xctsp4mSVFtwn.chm
xctsp4mRUStwn.chm
xctsp4mTURtwn.chm
xctsp4mPTBtwn.chm
xctsp4mPOLtwn.chm
xctsp4mCZEtwn.chm
xctsp4mHUNtwn.chm
xctsp4mnet.dll
xctsp4mcl.dll

[TWAINDRIVER.amd64.Delfiles]
xctsp4mdm64.dll
xctsp4mcl64.dll

[ICM.Delfiles]
;xctsp4mN.icm

[Strings]
Mfg="Xerox"
Location="SourceDisk"
SCANNER.WIA1.0.DeviceDesc="Xerox WorkCentre 6027 (WIA)"
SCANNER.WIA2.0.DeviceDesc="Xerox WorkCentre 6027 (WIA)"
ScanButton.Desc="File Button"