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

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

[Version]
Signature="$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
CatalogFile.nt=es0139.cat
DriverVer=05/23/2016,1.0.0.0

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir=11

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

[Strings]
Mfg			="EPSON"
ES0139.DeviceDesc	="EPSON EP-879A Series"
ES0139.DSName		="EPSON EP-879A Series"
ES0139.JpegButton	="Save as JPEG"
ES0139.PdfButton	="Save as PDF"
ES0139.MailButton	="Attach to Email"
ES0139.CustomButton	="Custom Action"
DiskName		="EPSON Scanners Driver Disk"

[Strings.0411]
Mfg			="EPSON"
ES0139.DeviceDesc	="EPSON EP-879A Series"
ES0139.DSName		="EPSON EP-879A Series"
ES0139.JpegButton	="JPEGで保存する"
ES0139.PdfButton	="PDFで保存する"
ES0139.MailButton	="メールに添付する"
ES0139.CustomButton	="カスタム設定に従う"
DiskName		="EPSON スキャナ ドライバディスク"

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

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

[Models.NTx86.5.1]
%ES0139.DeviceDesc%  = ES0139_NTx86_51,USB\VID_04B8&PID_111B&MI_00

[Models.NTamd64.5.2]
%ES0139.DeviceDesc%  = ES0139_NTx64_52,USB\VID_04B8&PID_111B&MI_00

[Models.NTx86.6.0]
%ES0139.DeviceDesc%  = ES0139_NTx86_60,USB\VID_04B8&PID_111B&MI_00

[Models.NTamd64.6.0]
%ES0139.DeviceDesc%  = ES0139_NTx64_60,USB\VID_04B8&PID_111B&MI_00

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

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

[ES0139_NTx86_51.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[ES0139_NTx86_51.DeviceData]
Model=%ES0139.DeviceDesc%
TwainDS=%ES0139.DSName%
NumButtons=4,1
HOptRes=1200,1
VOptRes=4800,1
ModelCode="ES0139"
OptionCaps=0x00,1

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

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

[ES0139_NTx64_52.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[ES0139_NTx64_52.DeviceData]
Model=%ES0139.DeviceDesc%
TwainDS=%ES0139.DSName%
NumButtons=4,1
HOptRes=1200,1
VOptRes=4800,1
ModelCode="ES0139"
OptionCaps=0x00,1

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

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

[ES0139_NTx86_60.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[ES0139_NTx86_60.DeviceData]
Model=%ES0139.DeviceDesc%
TwainDS=%ES0139.DSName%
NumButtons=4,1
HOptRes=1200,1
VOptRes=4800,1
ModelCode="ES0139"
OptionCaps=0x00,1

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

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

[ES0139_NTx64_60.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[ES0139_NTx64_60.DeviceData]
Model=%ES0139.DeviceDesc%
TwainDS=%ES0139.DSName%
NumButtons=4,1
HOptRes=1200,1
VOptRes=4800,1
ModelCode="ES0139"
OptionCaps=0x00,1

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

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

[ES0139_NTx86_51.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,{85D550D4-25D1-435c-BCD6-166D83FC4749}
HKCR,CLSID\{85D550D4-25D1-435c-BCD6-166D83FC4749},,,"EPSON USD"
HKCR,CLSID\{85D550D4-25D1-435c-BCD6-166D83FC4749}\InProcServer32,,,%11%\eswiau2.dll
HKCR,CLSID\{85D550D4-25D1-435c-BCD6-166D83FC4749}\InProcServer32,ThreadingModel,,Both

[ES0139_NTx64_52.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,{85D550D4-25D1-435c-BCD6-166D83FC4749}
HKCR,CLSID\{85D550D4-25D1-435c-BCD6-166D83FC4749},,,"EPSON USD"
HKCR,CLSID\{85D550D4-25D1-435c-BCD6-166D83FC4749}\InProcServer32,,,%11%\esxwiau2.dll
HKCR,CLSID\{85D550D4-25D1-435c-BCD6-166D83FC4749}\InProcServer32,ThreadingModel,,Both

[ES0139_NTx86_60.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,{85D550D4-25D1-435c-BCD6-166D83FC4749}
HKCR,CLSID\{85D550D4-25D1-435c-BCD6-166D83FC4749},,,"EPSON USD"
HKCR,CLSID\{85D550D4-25D1-435c-BCD6-166D83FC4749}\InProcServer32,,,%11%\esw2u2.dll
HKCR,CLSID\{85D550D4-25D1-435c-BCD6-166D83FC4749}\InProcServer32,ThreadingModel,,Both

[ES0139_NTx64_60.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,{85D550D4-25D1-435c-BCD6-166D83FC4749}
HKCR,CLSID\{85D550D4-25D1-435c-BCD6-166D83FC4749},,,"EPSON USD"
HKCR,CLSID\{85D550D4-25D1-435c-BCD6-166D83FC4749}\InProcServer32,,,%11%\esxw2u2.dll
HKCR,CLSID\{85D550D4-25D1-435c-BCD6-166D83FC4749}\InProcServer32,ThreadingModel,,Both

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

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

[ES0139_NTx86_51.USD.Files]
eswiau2.dll,,,32

[ES0139_NTx64_52.USD.Files]
esxwiau2.dll,,,32

[ES0139_NTx86_60.USD.Files]
esw2u2.dll,,,32

[ES0139_NTx64_60.USD.Files]
esxw2u2.dll,,,32

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

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

[SourceDisksFiles]
eswiau2.dll=2001
esxwiau2.dll=2001
esw2u2.dll=2001
esxw2u2.dll=2001
