; ES99.INF  -- Windows Still Image Setup File for Windows
; Copyright (c) 2008 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=es99.cat
DriverVer=06/02/2009,3.7.3.1

[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\ES0099
FFMT.Files=10,TWAIN_32\ESCNDV\ES0099\FFMT
EPSON.Color.Files=23						; LDID_SYS\COLOR
ES99.Color.Files=23							; LDID_SYS\COLOR
USB.Scan.CopySys32Files=10,system32\drivers	; LDID_WIN\system32\drivers

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

[Strings]
Mfg					= "EPSON"
ES99.DeviceDesc		= "EPSON SX110/TX110/ME 310"
DSName				= "EPSON SX110/TX110/ME 310"
StartButton			= "Scan Button"
RegSection			= "SOFTWARE\EPSON\EPSON Scan\ES0099"
RegSection.x64		= "SOFTWARE\WoW6432Node\EPSON\EPSON Scan\ES0099"
ScanApp				= "Epson Event Manager"
DiskName			= "EPSON Scanners Driver Disk"
ICCName				= "SX110_R.ICC"

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

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

[Models]
%ES99.DeviceDesc%  = USB.ES99,USB\VID_04B8&PID_084D&MI_00

[Models.NTx86.5.1]
%ES99.DeviceDesc%  = USB.ES99XP,USB\VID_04B8&PID_084D&MI_00

[Models.NTamd64]
%ES99.DeviceDesc%  = USB.ES99XP.x64,USB\VID_04B8&PID_084D&MI_00

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[USB.ES99XP.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

[ES99XP.DeviceData]
TwainDS=%DSName%
Model=%ES99.DeviceDesc%
NumButtons=1,1
HOptRes=600,1
VOptRes=1200,1
ModelCode="ES0099"

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

[ESExtendXP.Info]
EventModel=ES0099

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

[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"

[ESWIAUD.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{580A2401-9E98-4a8a-BEC5-94173FEE8968}"
HKCR,CLSID\{580A2401-9E98-4a8a-BEC5-94173FEE8968},,,"EPSON USD"
HKCR,CLSID\{580A2401-9E98-4a8a-BEC5-94173FEE8968}\InProcServer32,,,%11%\eswiaud.dll
HKCR,CLSID\{580A2401-9E98-4a8a-BEC5-94173FEE8968}\InProcServer32,ThreadingModel,,"Both"

[ESWIAUD.x64.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{580A2401-9E98-4a8a-BEC5-94173FEE8968}"
HKCR,CLSID\{580A2401-9E98-4a8a-BEC5-94173FEE8968},,,"EPSON USD"
HKCR,CLSID\{580A2401-9E98-4a8a-BEC5-94173FEE8968}\InProcServer32,,,%11%\esxwiaud.dll
HKCR,CLSID\{580A2401-9E98-4a8a-BEC5-94173FEE8968}\InProcServer32,ThreadingModel,,"Both"

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

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

[ES99.AddReg] ; Model dependent
HKLM,%RegSection%,"Version",0x00010001 ,0x00010000
HKLM,%RegSection%,"Hardware File",,"ES0099.HRD"
HKLM,%RegSection%,"Supported",,"EPSON PX-402A,EPSON NX110/TX110,EPSON SX110/TX110/ME 310"
HKLM,%RegSection%,"EventNum",0x00010001 ,0x00000001
HKLM,%RegSection%,"EventAppName",,"Epson Event Manager"
HKLM,%RegSection%,"EventAppPath",,"0,Epson Software\Event Manager\EEventManager.exe"

[ES99.x64.AddReg] ; Model dependent
HKLM,%RegSection.x64%,"Version",0x00010001 ,0x00010000
HKLM,%RegSection.x64%,"Hardware File",,"ES0099.HRD"
HKLM,%RegSection.x64%,"Supported",,"EPSON PX-402A,EPSON NX110/TX110,EPSON SX110/TX110/ME 310"
HKLM,%RegSection.x64%,"EventNum",0x00010001 ,0x00000001
HKLM,%RegSection.x64%,"EventAppName",,"Epson Event Manager"
HKLM,%RegSection.x64%,"EventAppPath",,"0,Epson Software\Event Manager\EEventManager.exe"

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

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

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

[ESWIAUD.USD.Files]
eswiaud.dll,,,32

[ESWIAUD.x64.USD.Files]
esxwiaud.dll,,,32

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

[DRV.Files]
es0099.hrd,,,32
es0099.dti,,,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]
es0099.idx,,,32

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

[ES99.Color.Files]
sx110_r.icc,,,32

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

[SourceDisksNames]
2000=%DiskName%,EsCore.cab,,
2001=%DiskName%,ModUsd.cab,,
2002=%DiskName%,EwColor.cab,,
2003=%DiskName%,ResLang.cab,,
2004=%DiskName%,ModExt.cab,,
2153=%DiskName%,sx110.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
eswiaud.dll=2001
esxwiaud.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

es0099.idx=2153
es0099.hrd=2153
es0099.dti=2153
sx110.ds=2153
sx110_r.icc=2153

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