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

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

[Version]
Signature="$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
CatalogFile.nt=esca.cat
DriverVer=09/06/2012,3.6.8.6

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir=11							; LDID_SYS

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

[Strings]
Mfg					= "EPSON"
ESCA.DeviceDesc		= "EPSON DS-30"
DSName				= "EPSON DS-30"
RegSection			= "SOFTWARE\EPSON\EPSON Scan\ES00CA"
RegSection.x64		= "SOFTWARE\WoW6432Node\EPSON\EPSON Scan\ES00CA"
StartButton			= "Start Button"
DiskName			= "EPSON Scanners Driver Disk"

[Strings.0411]
Mfg					= "EPSON"
ESCA.DeviceDesc		= "EPSON DS-30"
DSName				= "EPSON DS-30"
RegSection			= "SOFTWARE\EPSON\EPSON Scan\ES00CA"
RegSection.x64		= "SOFTWARE\WoW6432Node\EPSON\EPSON Scan\ES00CA"
StartButton			= "スキャナビ"
DiskName			= "EPSON スキャナ ドライバディスク"
;--------------------------------------------------------------------------------

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

[Models.NTx86.5.1]
%ESCA.DeviceDesc%  = USB.ESCANT5,USB\VID_04B8&PID_0147

[Models.NTx86.6.0]
%ESCA.DeviceDesc%  = USB.ESCANT6,USB\VID_04B8&PID_0147

[Models.NTamd64.5.2]
%ESCA.DeviceDesc%  = USB.ESCANT5.x64,USB\VID_04B8&PID_0147

[Models.NTamd64.6.0]
%ESCA.DeviceDesc%  = USB.ESCANT6.x64,USB\VID_04B8&PID_0147

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

[USB.ESCANT5]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x01
Capabilities=0x11
Events=ESCANT5.Events
DeviceData=ESCANT5.DeviceData
AddReg=ESWIA1_CA.AddReg,USB.IF.AddReg
CopyFiles=ESWIA1_CA.USD.Files

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

[ESCANT5.DeviceData]
TwainDS=%DSName%
Model=%ESCA.DeviceDesc%
ExtCmdModule="esintca.dll"
NumButtons=1,1
HOptRes=600,1
VOptRes=600,1
ModelCode="ES00CA"
OptionCaps=0x110,1

[USB.ESCANT5.x64]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x01
Capabilities=0x11
Events=ESCANT5.Events
DeviceData=ESCANT5.x64.DeviceData
AddReg=ESWIA1_CA.x64.AddReg,USB.IF.AddReg
CopyFiles=ESWIA1_CA.x64.USD.Files

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

[ESCANT5.x64.DeviceData]
TwainDS=%DSName%
Model=%ESCA.DeviceDesc%
ExtCmdModule="esxuinca.dll"
NumButtons=1,1
HOptRes=600,1
VOptRes=600,1
ModelCode="ES00CA"
OptionCaps=0x110,1

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

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

[USB.ESCANT6]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x01
Capabilities=0x11
Events=ESCANT6.Events
DeviceData=ESCANT6.DeviceData
AddReg=ESWIA2_CA.AddReg,USB.IF.AddReg
CopyFiles=ESWIA2_CA.USD.Files

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

[ESCANT6.DeviceData]
TwainDS=%DSName%
Model=%ESCA.DeviceDesc%
ExtCmdModule="esintca.dll"
NumButtons=1,1
HOptRes=600,1
VOptRes=600,1
ModelCode="ES00CA"
OptionCaps=0x110,1

[USB.ESCANT6.x64]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x01
Capabilities=0x11
Events=ESCANT6.Events
DeviceData=ESCANT6.x64.DeviceData
AddReg=ESWIA2_CA.x64.AddReg,USB.IF.AddReg
CopyFiles=ESWIA2_CA.x64.USD.Files

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

[ESCANT6.x64.DeviceData]
TwainDS=%DSName%
Model=%ESCA.DeviceDesc%
ExtCmdModule="esxuinca.dll"
NumButtons=1,1
HOptRes=600,1
VOptRes=600,1
ModelCode="ES00CA"
OptionCaps=0x110,1

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

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

[ESWIA1_CA.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{95A12AD5-0445-4ba2-9551-A021C17CF8AB}"
HKCR,CLSID\{95A12AD5-0445-4ba2-9551-A021C17CF8AB},,,"EPSON USD"
HKCR,CLSID\{95A12AD5-0445-4ba2-9551-A021C17CF8AB}\InProcServer32,,,%11%\eswiaca.dll
HKCR,CLSID\{95A12AD5-0445-4ba2-9551-A021C17CF8AB}\InProcServer32,ThreadingModel,,"Both"

[ESWIA1_CA.x64.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{95A12AD5-0445-4ba2-9551-A021C17CF8AB}"
HKCR,CLSID\{95A12AD5-0445-4ba2-9551-A021C17CF8AB},,,"EPSON USD"
HKCR,CLSID\{95A12AD5-0445-4ba2-9551-A021C17CF8AB}\InProcServer32,,,%11%\esxwiaca.dll
HKCR,CLSID\{95A12AD5-0445-4ba2-9551-A021C17CF8AB}\InProcServer32,ThreadingModel,,"Both"

[ESWIA2_CA.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{95A12AD5-0445-4ba2-9551-A021C17CF8AB}"
HKCR,CLSID\{95A12AD5-0445-4ba2-9551-A021C17CF8AB},,,"EPSON USD"
HKCR,CLSID\{95A12AD5-0445-4ba2-9551-A021C17CF8AB}\InProcServer32,,,%11%\esw2_ca.dll
HKCR,CLSID\{95A12AD5-0445-4ba2-9551-A021C17CF8AB}\InProcServer32,ThreadingModel,,"Both"

[ESWIA2_CA.x64.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"{95A12AD5-0445-4ba2-9551-A021C17CF8AB}"
HKCR,CLSID\{95A12AD5-0445-4ba2-9551-A021C17CF8AB},,,"EPSON USD"
HKCR,CLSID\{95A12AD5-0445-4ba2-9551-A021C17CF8AB}\InProcServer32,,,%11%\esxw2_ca.dll
HKCR,CLSID\{95A12AD5-0445-4ba2-9551-A021C17CF8AB}\InProcServer32,ThreadingModel,,"Both"

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

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

[ESWIA1_CA.USD.Files]
eswiaca.dll,,,32
esintca.dll,,,32

[ESWIA1_CA.x64.USD.Files]
esxwiaca.dll,,,32
esxuinca.dll,,,32

[ESWIA2_CA.USD.Files]
esw2_ca.dll,,,32
esintca.dll,,,32

[ESWIA2_CA.x64.USD.Files]
esxw2_ca.dll,,,32
esxuinca.dll,,,32

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

[SourceDisksNames]
2001=%DiskName%,ModUsd.cab,,

[SourceDisksFiles]
eswiaca.dll=2001
esxwiaca.dll=2001
esintca.dll=2001
esxuinca.dll=2001
esw2_ca.dll=2001
esxw2_ca.dll=2001
