; ES51.INF  -- Windows Still Image Setup File for Windows
; Copyright (c) 2006 Seiko Epson Corporation
; Manufacturer: Seiko Epson Corporation

;--------------------------------------------------------------------------------

[Version]
Signature="$Windows NT$"
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
;CatalogFile.nt=es51.cat
DriverVer=12/15/2009,3.4.9.2

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir=11						; LDID_SYS
DS.Files=10,TWAIN_32\ESCNDV
TBL.Files=10,TWAIN_32\ESCNDV\ESSYS		; LDID_WIN\TWAIN_32\ESCNDV\ESSYS
DRV.Files=10,TWAIN_32\ESCNDV\ES0051
FFMT.Files=10,TWAIN_32\ESCNDV\ES0051\FFMT
EPSON.Color.Files=23					; LDID_SYS\COLOR
ES51.Color.Files=23						; LDID_SYS\COLOR
USB.Scan.CopySys32Files=10,system32\drivers	; LDID_WIN\system32\drivers

;--------------------------------------------------------------------------------

[Strings]
Mfg					= "EPSON"
ES51.DeviceDesc		= "EPSON AL-CX11"
DSName				= "EPSON AL-CX11"
StartButton			= "Scan Button"
RegSection			= "SOFTWARE\EPSON\EPSON Scan\ES0051"
RegSection.x64		= "SOFTWARE\WoW6432Node\EPSON\EPSON Scan\ES0051"
ScanApp				= "EPSON Creativity Suite"
DiskName			= "EPSON Scanners Driver Disk"
ICCName				= "ACX11_R.ICM"

;--------------------------------------------------------------------------------

[Manufacturer]
%Mfg%=Models,NTx86.5.1,NTamd64

[Models]
%ES51.DeviceDesc% = USB.ES51,USB\VID_04B8&PID_0815&MI_00

[Models.NTx86.5.1]
%ES51.DeviceDesc% = USB.ES51XP,USB\VID_04B8&PID_0815&MI_00

[Models.NTamd64]
%ES51.DeviceDesc% = USB.ES51XP.x64,USB\VID_04B8&PID_0815&MI_00

;--------------------------------------------------------------------------------

[USB.ES51]
SubClass=StillImage
DeviceType=1
DeviceSubType=0x01
Capabilities=0x03
Events=ES51.Events
DeviceData=ES51.DeviceData
AddReg=ESCANB.AddReg,USB.Driver.AddReg,USB.IF.AddReg,ES51.AddReg
;CopyFiles=ESCANB.USD.Files,DS.Files,DRV.Files,FFMT.Files,TBL.Files,EPSON.Color.Files,ES51.Color.Files,USB.Scan.CopySys32Files
CopyFiles=USB.Scan.CopySys32Files
ICMProfiles=%ICCName%

[USB.ES51.ntx86]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x01
Capabilities=0x03
Events=ES51.Events
DeviceData=ES51.DeviceData
AddReg=ESCANB.AddReg,USB.IF.AddReg,ES51.AddReg
;CopyFiles=ESCANB.USD.Files,DS.Files,DRV.Files,FFMT.Files,TBL.Files,EPSON.Color.Files,ES51.Color.Files
ICMProfiles=%ICCName%

[USB.ES51.ntx86.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[ES51.DeviceData]
TwainDS=%DSName%
Model=%ES51.DeviceDesc%

[ES51.Events]
Button0=%StartButton%,{7D245E24-56C0-11d1-BED9-00AA002F3325},%ScanApp%

;--------------------------------------------------------------------------------

[USB.ES51XP]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x01
Capabilities=0x13
Events=ES51XP.Events
DeviceData=ES51XP.DeviceData
AddReg=ESWIAB.AddReg,USB.IF.AddReg,ES51.AddReg
;CopyFiles=ESWIAB.USD.Files,DS.Files,DRV.Files,FFMT.Files,TBL.Files,EPSON.Color.Files,ES51.Color.Files
ICMProfiles=%ICCName%

[USB.ES51XP.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[USB.ES51XP.CoInstallers]
AddReg=ESExtendXP.AddReg
;CopyFiles=ESExtendXP.CopyFiles

[ESExtendXP.AddReg]
HKR,,CoInstallers32,0x10000,"escdev.dll,RegDeviceEvent"

[ESExtendXP.CopyFiles]
escdev.dll,,,32
esdevapp.exe,,,32

[USB.ES51XP.x64]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x01
Capabilities=0x13
Events=ES51XP.Events
DeviceData=ES51XP.DeviceData
AddReg=ESWIAB.x64.AddReg,USB.IF.AddReg,ES51.x64.AddReg
;CopyFiles=ESWIAB.x64.USD.Files,DS.Files,DRV.Files,FFMT.Files,TBL.Files,EPSON.Color.Files,ES51.Color.Files
ICMProfiles=%ICCName%

[USB.ES51XP.x64.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[USB.ES51XP.x64.CoInstallers]
AddReg=ESExtendXP.x64.AddReg
;CopyFiles=ESExtendXP.x64.CopyFiles

[ESExtendXP.x64.AddReg]
HKR,,CoInstallers32,0x10000,"esxcdev.dll,RegDeviceEvent"

[ESExtendXP.x64.CopyFiles]
esxcdev.dll,,,32
esdevapp.exe,,,32

[ES51XP.DeviceData]
TwainDS=%DSName%
Model=%ES51.DeviceDesc%
NumButtons=1,1
HOptRes=600,1
VOptRes=600,1
ModelCode="ES0051"

[ES51XP.Events]
Button0=%StartButton%,{A6C5A715-8C6E-11D2-977A-0000F87A926F},%ScanApp%

[ESExtendXP.Info]
EventModel=ES0051

;--------------------------------------------------------------------------------

[ESCANB.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{4E470040-B4E9-11D0-8BC4-00AA0059897B}"
HKCR,CLSID\{4E470040-B4E9-11D0-8BC4-00AA0059897B},,,"EPSON USD"
HKCR,CLSID\{4E470040-B4E9-11D0-8BC4-00AA0059897B}\InProcServer32,,,%11%\essiscsi.dll
HKCR,CLSID\{4E470040-B4E9-11D0-8BC4-00AA0059897B}\InProcServer32,ThreadingModel,,"Apartment"

[ESWIAB.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{990A9DE2-D535-43ab-8A54-BC59A0349C92}"
HKCR,CLSID\{990A9DE2-D535-43ab-8A54-BC59A0349C92},,,"EPSON USD"
HKCR,CLSID\{990A9DE2-D535-43ab-8A54-BC59A0349C92}\InProcServer32,,,%11%\escwiab.dll
HKCR,CLSID\{990A9DE2-D535-43ab-8A54-BC59A0349C92}\InProcServer32,ThreadingModel,,"Both"

[ESWIAB.x64.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{990A9DE2-D535-43ab-8A54-BC59A0349C92}"
HKCR,CLSID\{990A9DE2-D535-43ab-8A54-BC59A0349C92},,,"EPSON USD"
HKCR,CLSID\{990A9DE2-D535-43ab-8A54-BC59A0349C92}\InProcServer32,,,%11%\esxcwiab.dll
HKCR,CLSID\{990A9DE2-D535-43ab-8A54-BC59A0349C92}\InProcServer32,ThreadingModel,,"Both"

[USB.Driver.AddReg]
HKR,,NTMPDriver,,"usbscan.sys"

[USB.IF.AddReg]
HKR,,HardwareConfig,1,4

[ES51.AddReg] ; Model dependent
HKLM,%RegSection%,"Version",0x00010001 ,0x00010000
HKLM,%RegSection%,"Hardware File",,"ES0051.HRD"
HKLM,%RegSection%,"Supported",,"EPSON LP-A500,EPSON AL-CX11"
HKLM,%RegSection%,"EventNum",0x00010001 ,0x00000001
HKLM,%RegSection%,"EventAppName",,"EPSON Creativity Suite"
HKLM,%RegSection%,"EventAppPath",,"0,EPSON\Creativity Suite\Event Manager\EEventManager.exe"

[ES51.x64.AddReg] ; Model dependent
HKLM,%RegSection.x64%,"Version",0x00010001 ,0x00010000
HKLM,%RegSection.x64%,"Hardware File",,"ES0051.HRD"
HKLM,%RegSection.x64%,"Supported",,"EPSON LP-A500,EPSON AL-CX11"
HKLM,%RegSection.x64%,"EventNum",0x00010001 ,0x00000001
HKLM,%RegSection.x64%,"EventAppName",,"EPSON Creativity Suite"
HKLM,%RegSection.x64%,"EventAppPath",,"0,EPSON\Creativity Suite\Event Manager\EEventManager.exe"

;--------------------------------------------------------------------------------

[USB.Scan.CopySys32Files]
usbscan.sys,,,16

[ESCANB.USD.Files]
essiscsi.dll,,,32

[ESWIAB.USD.Files]
escwiab.dll,,,32

[ESWIAB.x64.USD.Files]
esxcwiab.dll,,,32

[DS.Files]
alcx11.ds,,,32
escndv.exe,,,32
escndvrs.dll,,,32

[DRV.Files]
es0051.hrd,,,32
esicm.dll,,,32
esdevif.dll,,,32
esdevcl.dll,,,32
esscncl.dll,,,32
esui.dll,,,32
esutwb.dll,,,32
esdscl.dll,,,32
estwpmg.dll,,,32
esfit.dll,,,32
esimgctl.dll,,,32
estwm.exe,,,32
esimfl.dll,,,32
esres.dll,,,32
esdtr.dll,,,32
esdtr2.dll,,,32
esmps.dll,,,32
esmpsres.dll,,,32
version.dat,,,32
esimgdet.dll,,,32
esddc.dll,,,32
esddc.prm,,,32
escires.dll,,,32
esdde.dll,,,32
esdde.prm,,,32
escndv.chm,,,32
estwh.chm,,,32
esffmt.chm,,,32

[FFMT.files]
epbmp.dll,,,32
epjpg.dll,,,32
epmtf.dll,,,32
eptif.dll,,,32
eppdf.dll,,,32
eppij.dll,,,32
eppit.dll,,,32
esexf.dll,,,32
pdflib.dll,,,32
pdffile.dll,,,32
espimtif.dll,,,32
epbmpres.dll,,,32
epjpgres.dll,,,32
epmtfres.dll,,,32
eptifres.dll,,,32
eppdfres.dll,,,32
eppijres.dll,,,32
eppitres.dll,,,32

[TBL.Files]
es0051.idx,,,32

[EPSON.Color.Files]
ewsrgb.icm,,,32
ewrgb18.icm,,,32
ewgray22.icm,,,32
ewgray18.icm,,,32

[ES51.Color.Files]
acx11_r.icm,,,32

;--------------------------------------------------------------------------------

[SourceDisksNames]
2000=%DiskName%,EsCore.cab,,
2001=%DiskName%,ModUsd.cab,,
2002=%DiskName%,EwColor.cab,,
2003=%DiskName%,ResLang.cab,,
2004=%DiskName%,ModExt.cab,,
2081=%DiskName%,alcx11.cab,,
8000=%DiskName%,Escdev.cab,,

[SourceDisksFiles]
escndv.exe=2000
esicm.dll=2000
esfit.dll=2000
esimfl.dll=2000
esdevif.dll=2000
esdevcl.dll=2000
esscncl.dll=2000
esui.dll=2000
esutwb.dll=2000
esdscl.dll=2000
estwpmg.dll=2000
esimgctl.dll=2000
estwm.exe=2000
version.dat=2000
epbmp.dll=2000
epjpg.dll=2000
epmtf.dll=2000
eptif.dll=2000
eppdf.dll=2000
eppij.dll=2000
eppit.dll=2000
esexf.dll=2000
espimtif.dll=2000
pdflib.dll=2000
pdffile.dll=2000
esmps.dll=2000
esimgdet.dll=2000
esddc.dll=2000
esddc.prm=2000
escires.dll=2000
ewsrgb.icm=2000
ewrgb18.icm=2000
ewgray22.icm=2000
ewgray18.icm=2000
esdde.dll=2000
esdde.prm=2000

essiscsi.dll=2001
escwiab.dll=2001
esxcwiab.dll=2001

escndvrs.dll=2003
esres.dll=2003
epbmpres.dll=2003
epjpgres.dll=2003
epmtfres.dll=2003
eptifres.dll=2003
eppdfres.dll=2003
eppijres.dll=2003
eppitres.dll=2003
escndv.chm=2003
estwh.chm=2003
esmpsres.dll=2003
esffmt.chm=2003

esdtr.dll=2004
esdtr2.dll=2004

es0051.idx=2081
es0051.hrd=2081
alcx11.ds=2081
acx11_r.icm=2081

escdev.dll=8000
esxcdev.dll=8000
esdevapp.exe=8000
