; ES8B.INF  -- Windows Still Image Setup File for Windows
; Copyright (c) 2008 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=es8b.cat
DriverVer=06/19/2008,3.5.0.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\ES008B
FFMT.Files=10,TWAIN_32\ESCNDV\ES008B\FFMT
EPSON.Color.Files=23						; LDID_SYS\COLOR
ES8B.Color.Files=23							; LDID_SYS\COLOR
ES8BINTP.x64.Files=10,SysWOW64				; LDID_WIN\SysWOW64
USB.Scan.CopySys32Files=10,system32\drivers	; LDID_WIN\system32\drivers

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

[Strings]
Mfg					= "EPSON"
ES8B.DeviceDesc		= "EPSON Perfection V30 SE"
DSName				= "EPSON Perfection V30 SE"
StartButton			= "Start Button"
CopyButton			= "Copy Button"
MailButton			= "Scan to E-mail Button"
SaveButton			= "Scan to PDF Button"
RegSection			= "SOFTWARE\EPSON\EPSON Scan\ES008B"
RegSection.x64		= "SOFTWARE\WoW6432Node\EPSON\EPSON Scan\ES008B"
ScanApp				= "Epson Event Manager"
DiskName			= "EPSON Scanners Driver Disk"
ICCName				= "PERV300R.ICC,PERV300F.ICC"

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

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

[Models]
%ES8B.DeviceDesc%  = USB.ES8B,USB\VID_04B8&PID_0139

[Models.NTx86.5.1]
%ES8B.DeviceDesc%  = USB.ES8BXP,USB\VID_04B8&PID_0139

[Models.NTamd64]
%ES8B.DeviceDesc%  = USB.ES8BXP.x64,USB\VID_04B8&PID_0139

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

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

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

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

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

[ES8B.Events]
Button0=%StartButton%,{7D245E24-56C0-11d1-BED9-00AA002F3325},%ScanApp%
Button1=%CopyButton%,{21538DC0-B49F-11d3-B981-00104B130C19},%ScanApp%
Button2=%MailButton%,{21538DC1-B49F-11d3-B981-00104B130C19},%ScanApp%
Button3=%SaveButton%,{520C1710-BD4B-4503-95F9-7268B69ABA49},%ScanApp%

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

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

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

[ES8BXP.DeviceData]
TwainDS=%DSName%
Model=%ES8B.DeviceDesc%
ExtCmdModule="esint8b.dll"
NumButtons=4,1
HOptRes=4800,1
VOptRes=9600,1
ModelCode="ES008B"

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

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

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

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

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

[ES8BXP.x64.DeviceData]
TwainDS=%DSName%
Model=%ES8B.DeviceDesc%
ExtCmdModule="esxuin8b.dll"
NumButtons=4,1
HOptRes=4800,1
VOptRes=9600,1
ModelCode="ES008B"

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

[ES8BXP.Events]
Button0=%StartButton%,{A6C5A715-8C6E-11D2-977A-0000F87A926F},%ScanApp%
Button1=%CopyButton%,{FC4767C1-C8B3-48A2-9CFA-2E90CB3D3590},%ScanApp%
Button2=%MailButton%,{154E27BE-B617-4653-ACC5-0FD7BD4C65CE},%ScanApp%
Button3=%SaveButton%,{A65B704A-7F3C-4447-A75D-8A26DFCA1FDF},%ScanApp%

[ESExtendXP.Info]
EventNum=4
EventApp="Epson Event Manager",0,"Epson Software\Event Manager\EEventManager.exe"

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

[ESSTI8B.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{1161356E-0A9E-47f8-8AED-ED17559B4D9B}"
HKCR,CLSID\{1161356E-0A9E-47f8-8AED-ED17559B4D9B},,,"EPSON USD"
HKCR,CLSID\{1161356E-0A9E-47f8-8AED-ED17559B4D9B}\InProcServer32,,,%11%\essti8b.dll
HKCR,CLSID\{1161356E-0A9E-47f8-8AED-ED17559B4D9B}\InProcServer32,ThreadingModel,,"Apartment"

[ESWIA8B.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{73F1C128-F7BF-411e-B5E1-768AB52BD6CB}"
HKCR,CLSID\{73F1C128-F7BF-411e-B5E1-768AB52BD6CB},,,"EPSON USD"
HKCR,CLSID\{73F1C128-F7BF-411e-B5E1-768AB52BD6CB}\InProcServer32,,,%11%\eswia8b.dll
HKCR,CLSID\{73F1C128-F7BF-411e-B5E1-768AB52BD6CB}\InProcServer32,ThreadingModel,,"Both"

[ESWIA8B.x64.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{73F1C128-F7BF-411e-B5E1-768AB52BD6CB}"
HKCR,CLSID\{73F1C128-F7BF-411e-B5E1-768AB52BD6CB},,,"EPSON USD"
HKCR,CLSID\{73F1C128-F7BF-411e-B5E1-768AB52BD6CB}\InProcServer32,,,%11%\esxwia8b.dll
HKCR,CLSID\{73F1C128-F7BF-411e-B5E1-768AB52BD6CB}\InProcServer32,ThreadingModel,,"Both"

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

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

[ES8B.AddReg] ; Model dependent
HKLM,%RegSection%,"Version",0x00010001 ,0x00010000
HKLM,%RegSection%,"Hardware File",,"ES008B.HRD"
HKLM,%RegSection%,"Supported",,"EPSON Perfection V30 SE"

[ES8B.x64.AddReg] ; Model dependent
HKLM,%RegSection.x64%,"Version",0x00010001 ,0x00010000
HKLM,%RegSection.x64%,"Hardware File",,"ES008B.HRD"
HKLM,%RegSection.x64%,"Supported",,"EPSON Perfection V30 SE"

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

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

[ESSTI8B.USD.Files]
essti8b.dll,,,32
esint8b.dll,,,32
esfw8b.bin,,,32

[ESWIA8B.USD.Files]
eswia8b.dll,,,32
eswiaml.dll,,,32
esint8b.dll,,,32
esfw8b.bin,,,32

[ESWIA8B.x64.USD.Files]
esxwia8b.dll,,,32
esxwiaml.dll,,,32
esxuin8b.dll,,,32
esfw8b.bin,,,32

[ES8BINTP.x64.Files]
esint8b.dll,,,32

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

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

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

[ES8B.Color.Files]
perv300r.icc,,,32
perv300f.icc,,,32

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

[SourceDisksNames]
2000=%DiskName%,EsCore.cab,,
2001=%DiskName%,ModUsd.cab,,
2003=%DiskName%,ResLang.cab,,
2004=%DiskName%,ModExt.cab,,
2139=%DiskName%,perv300.cab,,
8000=%DiskName%,,,

[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

essti8b.dll=2001
eswia8b.dll=2001
eswiaml.dll=2001
esxwia8b.dll=2001
esxwiaml.dll=2001
esint8b.dll=2001
esxuin8b.dll=2001
esfw8b.bin=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

es008b.idx=2139
es008b.hrd=2139
es008b.dti=2139
perv300.ds=2139
perv300r.icc=2139
perv300f.icc=2139

escdev.dll=8000
esxcdev.dll=8000
