; ES66.INF  -- Windows Still Image Setup File for Windows
; Copyright (c) 2006 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=es66.cat
DriverVer=10/16/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\ES0066
FFMT.Files=10,TWAIN_32\ESCNDV\ES0066\FFMT
EPSON.Color.Files=23						; LDID_SYS\COLOR
ES66.Color.Files=23							; LDID_SYS\COLOR
ES66INTP.x64.Files=10,SysWOW64				; LDID_WIN\SysWOW64
USB.Scan.CopySys32Files=10,system32\drivers	; LDID_WIN\system32\drivers

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

[Strings]
Mfg					= "EPSON"
ES66.DeviceDesc		= "EPSON Perfection V10/V100"
DSName				= "EPSON Perfection V10/V100"
StartButton			= "Start Button"
CopyButton			= "Copy Button"
MailButton			= "Scan to E-mail Button"
SaveButton			= "Scan to PDF Button"
RegSection			= "SOFTWARE\EPSON\EPSON Scan\ES0066"
RegSection.x64		= "SOFTWARE\WoW6432Node\EPSON\EPSON Scan\ES0066"
ScanApp				= "EPSON Creativity Suite"
DiskName			= "EPSON Scanners Driver Disk"

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

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

[Models]
%ES66.DeviceDesc%  = USB.ES66,USB\VID_04B8&PID_012D

[Models.NTx86.5.1]
%ES66.DeviceDesc%  = USB.ES66XP,USB\VID_04B8&PID_012D

[Models.NTamd64]
%ES66.DeviceDesc%  = USB.ES66XP.x64,USB\VID_04B8&PID_012D

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

[USB.ES66]
SubClass=StillImage
DeviceType=1
DeviceSubType=0x11
Capabilities=0x03
Events=ES66.Events
DeviceData=ES66.DeviceData
AddReg=ESSTI66.AddReg,USB.Driver.AddReg,USB.IF.AddReg,ES66.AddReg
CopyFiles=ESSTI66.USD.Files,DS.Files,DRV.Files,FFMT.Files,TBL.Files,EPSON.Color.Files,ES66.Color.Files,USB.Scan.CopySys32Files
ICMProfiles="PERV10_R.ICM,PERV10_F.ICM"

[USB.ES66.ntx86]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x11
Capabilities=0x03
Events=ES66.Events
DeviceData=ES66.DeviceData
AddReg=ESSTI66.AddReg,USB.IF.AddReg,ES66.AddReg
CopyFiles=ESSTI66.USD.Files,DS.Files,DRV.Files,FFMT.Files,TBL.Files,EPSON.Color.Files,ES66.Color.Files
ICMProfiles="PERV10_R.ICM,PERV10_F.ICM"

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

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

[ES66.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.ES66XP]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x11
Capabilities=0x13
Events=ES66XP.Events
DeviceData=ES66XP.DeviceData
AddReg=ESWIA66.AddReg,USB.IF.AddReg,ES66.AddReg
CopyFiles=ESWIA66.USD.Files,DS.Files,DRV.Files,FFMT.Files,TBL.Files,EPSON.Color.Files,ES66.Color.Files
ICMProfiles="PERV10_R.ICM,PERV10_F.ICM"

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

[ES66XP.DeviceData]
TwainDS=%DSName%
Model=%ES66.DeviceDesc%
ExtCmdModule="esint66.dll"
NumButtons=4,1
HOptRes=3200,1
VOptRes=3200,1
ModelCode="ES0066"

[USB.ES66XP.CoInstallers]
AddReg=ESExtendXP.AddReg
CopyFiles=ESExtendXP.CopyFiles

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

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

[USB.ES66XP.x64]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x11
Capabilities=0x13
Events=ES66XP.Events
DeviceData=ES66XP.x64.DeviceData
AddReg=ESWIA66.x64.AddReg,USB.IF.AddReg,ES66.x64.AddReg
CopyFiles=ESWIA66.x64.USD.Files,ES66INTP.x64.Files,DS.Files,DRV.Files,FFMT.Files,TBL.Files,EPSON.Color.Files,ES66.Color.Files
ICMProfiles="PERV10_R.ICM,PERV10_F.ICM"

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

[ES66XP.x64.DeviceData]
TwainDS=%DSName%
Model=%ES66.DeviceDesc%
ExtCmdModule="esxuin66.dll"
NumButtons=4,1
HOptRes=3200,1
VOptRes=3200,1
ModelCode="ES0066"

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

[ES66XP.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 Creativity Suite",0,"EPSON\Creativity Suite\Event Manager\EEventManager.exe"

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

[ESSTI66.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{C1A5DB73-2471-47ed-9A46-850B905610EF}"
HKCR,CLSID\{C1A5DB73-2471-47ed-9A46-850B905610EF},,,"EPSON USD"
HKCR,CLSID\{C1A5DB73-2471-47ed-9A46-850B905610EF}\InProcServer32,,,%11%\essti66.dll
HKCR,CLSID\{C1A5DB73-2471-47ed-9A46-850B905610EF}\InProcServer32,ThreadingModel,,"Apartment"

[ESWIA66.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{401069EF-6B4C-451b-AB9C-E1CEFE6429D6}"
HKCR,CLSID\{401069EF-6B4C-451b-AB9C-E1CEFE6429D6},,,"EPSON USD"
HKCR,CLSID\{401069EF-6B4C-451b-AB9C-E1CEFE6429D6}\InProcServer32,,,%11%\eswia66.dll
HKCR,CLSID\{401069EF-6B4C-451b-AB9C-E1CEFE6429D6}\InProcServer32,ThreadingModel,,"Both"

[ESWIA66.x64.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{401069EF-6B4C-451b-AB9C-E1CEFE6429D6}"
HKCR,CLSID\{401069EF-6B4C-451b-AB9C-E1CEFE6429D6},,,"EPSON USD"
HKCR,CLSID\{401069EF-6B4C-451b-AB9C-E1CEFE6429D6}\InProcServer32,,,%11%\esxwia66.dll
HKCR,CLSID\{401069EF-6B4C-451b-AB9C-E1CEFE6429D6}\InProcServer32,ThreadingModel,,"Both"

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

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

[ES66.AddReg] ; Model dependent
HKLM,%RegSection%,"Version",0x00010001 ,0x00010000
HKLM,%RegSection%,"Hardware File",,"ES0066.hrd"
HKLM,%RegSection%,"Supported",,"EPSON GT-S600/F650,EPSON Perfection V10/V100"

[ES66.x64.AddReg] ; Model dependent
HKLM,%RegSection.x64%,"Version",0x00010001 ,0x00010000
HKLM,%RegSection.x64%,"Hardware File",,"ES0066.hrd"
HKLM,%RegSection.x64%,"Supported",,"EPSON GT-S600/F650,EPSON Perfection V10/V100"

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

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

[ESSTI66.USD.Files]
essti66.dll,,,32
esint66.dll,,,32
esfw66.bin,,,32

[ESWIA66.USD.Files]
eswia66.dll,,,32
eswiaml.dll,,,32
esint66.dll,,,32
esfw66.bin,,,32

[ESWIA66.x64.USD.Files]
esxwia66.dll,,,32
esxwiaml.dll,,,32
esxuin66.dll,,,32
esfw66.bin,,,32

[ES66INTP.x64.Files]
esint66.dll,,,32

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

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

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

[ES66.Color.Files]
perv10_r.icm,,,32
perv10_f.icm,,,32

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

[SourceDisksNames]
2000=%DiskName%,EsCore.cab,,
2001=%DiskName%,ModUsd.cab,,
2003=%DiskName%,ResLang.cab,,
2004=%DiskName%,ModExt.cab,,
2102=%DiskName%,Perv100.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
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

essti66.dll=2001
eswia66.dll=2001
eswiaml.dll=2001
esxwia66.dll=2001
esxwiaml.dll=2001
esint66.dll=2001
esxuin66.dll=2001
esfw66.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

esdtr.dll=2004
esdtr2.dll=2004

es0066.idx=2102
es0066.hrd=2102
perv100.ds=2102
perv10_r.icm=2102
perv10_f.icm=2102

escdev.dll=8000
esxcdev.dll=8000
