; ES34.INF  -- Windows Still Image Setup File for Windows
; Copyright (c) 2001 SEIKO EPSON Corporation
; Manufacturer: SEIKO EPSON Corp.

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

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

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

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

[Strings]
Mfg					= "EPSON"
ES34.DeviceDesc		= "EPSON Perfection 4870"
DSName				= "EPSON Perfection 4870"
StartButton			= "Start Button"
RegSection			= "SOFTWARE\EPSON\EPSON Scan\ES0034"
RegSection.x64		= "SOFTWARE\WoW6432Node\EPSON\EPSON Scan\ES0034"
ScanApp				= "EPSON Smart Panel"
DiskName			= "EPSON Scanners Driver Disk"
ICCName				= "PER487_R.ICM,PER487_T.ICM"

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

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

[Models]
%ES34.DeviceDesc%  = USB.ES34,USB\VID_04B8&PID_0128
%ES34.DeviceDesc%  = 1394.ES34,SBP2\EPSON&GT-X700_________&CmdSetId104d8

[Models.NTx86.5.1]
%ES34.DeviceDesc%  = USB.ES34XP,USB\VID_04B8&PID_0128
%ES34.DeviceDesc%  = 1394.ES34XP,SBP2\EPSON&GT-X700_________&CmdSetId104d8

[Models.NTamd64]
%ES34.DeviceDesc%  = USB.ES34XP.x64,USB\VID_04B8&PID_0128
%ES34.DeviceDesc%  = 1394.ES34XP.x64,SBP2\EPSON&GT-X700_________&CmdSetId104d8

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

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

[1394.ES34]
Include=sti.inf
Needs=STI.SBP2Section
SubClass=StillImage
DeviceType=1
DeviceSubType=0x02
Capabilities=0x03
Events=ES34.Events
DeviceData=ES34.DeviceData
AddReg=ESCANB.AddReg,SCSI.IF.AddReg,ES34.AddReg
CopyFiles=ESCANB.USD.Files,DS.Files,DRV.Files,FFMT.Files,TBL.Files,EPSON.Color.Files,ES34.Color.Files
ICMProfiles=%ICCName%

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

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

[1394.ES34.ntx86]
Include=sti.inf
Needs=STI.SCSISection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x02
Capabilities=0x03
Events=ES34.Events
DeviceData=ES34.DeviceData
AddReg=ESCANB.AddReg,SCSI.IF.AddReg,ES34.AddReg
CopyFiles=ESCANB.USD.Files,DS.Files,DRV.Files,FFMT.Files,TBL.Files,EPSON.Color.Files,ES34.Color.Files
ICMProfiles=%ICCName%

[1394.ES34.ntx86.Services]
Include=sti.inf
Needs=STI.SCSISection.Services

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

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

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

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

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

[1394.ES34XP]
Include=sti.inf
Needs=STI.SBP2Section
SubClass=StillImage
DeviceType=1
DeviceSubType=0x02
Capabilities=0x13
Events=ES34XP.Events
DeviceData=ES34XP.DeviceData
AddReg=ESWIAB.AddReg,SCSI.IF.AddReg,ES34.AddReg
CopyFiles=ESWIAB.USD.Files,DS.Files,DRV.Files,FFMT.Files,TBL.Files,EPSON.Color.Files,ES34.Color.Files
ICMProfiles=%ICCName%

[1394.ES34XP.Services]
Include=sti.inf
Needs=STI.SBP2Section.Services

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

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

[1394.ES34XP.x64]
Include=sti.inf
Needs=STI.SBP2Section
SubClass=StillImage
DeviceType=1
DeviceSubType=0x02
Capabilities=0x13
Events=ES34XP.Events
DeviceData=ES34XP.DeviceData
AddReg=ESWIAB.x64.AddReg,SCSI.IF.AddReg,ES34.x64.AddReg
CopyFiles=ESWIAB.x64.USD.Files,DS.Files,DRV.Files,FFMT.Files,TBL.Files,EPSON.Color.Files,ES34.Color.Files
ICMProfiles=%ICCName%

[1394.ES34XP.x64.Services]
Include=sti.inf
Needs=STI.SBP2Section.Services

[ES34XP.DeviceData]
TwainDS=%DSName%
Model=%ES34.DeviceDesc%
NumButtons=1,1
HOptRes=4800,1
VOptRes=4800,1
ModelCode="ES0034"

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

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

[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

[SCSI.IF.AddReg]
HKR,,HardwareConfig,1,2

[ES34.AddReg] ; Model dependent
HKLM,%RegSection%,"Version",0x00010001 ,0x00010000
HKLM,%RegSection%,"Hardware File",,"ES0034.HRD"
HKLM,%RegSection%,"Supported",,"EPSON GT-X700,EPSON Perfection 4870"

[ES34.x64.AddReg] ; Model dependent
HKLM,%RegSection.x64%,"Version",0x00010001 ,0x00010000
HKLM,%RegSection.x64%,"Hardware File",,"ES0034.HRD"
HKLM,%RegSection.x64%,"Supported",,"EPSON GT-X700,EPSON Perfection 4870"

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

[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]
per4870.ds,,,32
escndv.exe,,,32
escndvrs.dll,,,32

[DRV.Files]
es0034.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
escndv.chm,,,32
estwh.chm,,,32
esimfl.dll,,,32
esres.dll,,,32
esdtr.dll,,,32
esdtr2.dll,,,32
version.dat,,,32
esmps.dll,,,32
esmpsres.dll,,,32
dicelib.dll,,,32
esicelut.dll,,,32
esicemsk.dll,,,32
esimgdet.dll,,,32
ade.dll,,,32
ade001.bin,,,32
esddc.dll,,,32

[FFMT.files]
epbmp.dll,,,32
epjpg.dll,,,32
epmtf.dll,,,32
eptif.dll,,,32
eppdf.dll,,,32
epipd.dll,,,32
eppij.dll,,,32
eppit.dll,,,32
esexf.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]
es0034.idx,,,32

[EPSON.Color.Files]
ewsrgb.icm,,,32

[ES34.Color.Files]
per487_r.icm,,,32
per487_t.icm,,,32

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

[SourceDisksNames]
2000=%DiskName%,EsCore.cab,,
2001=%DiskName%,ModUsd.cab,,
2003=%DiskName%,ResLang.cab,,
2004=%DiskName%,ModExt.cab,,
2052=%DiskName%,per4870.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
epipd.dll=2000
eppij.dll=2000
eppit.dll=2000
esexf.dll=2000
espimtif.dll=2000
ewsrgb.icm=2000
esmps.dll=2000
esimgdet.dll=2000
ade.dll=2000
ade001.bin=2000
esddc.dll=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

esdtr.dll=2004
esdtr2.dll=2004
dicelib.dll=2004
esicelut.dll=2004
esicemsk.dll=2004

es0034.idx=2052
es0034.hrd=2052
per4870.ds=2052
per487_r.icm=2052
per487_t.icm=2052
