[VERSION]
Version=2.00

[MODEL]
ES0177=EPSON M2140 Series

[SYSTEM]
ALL=ALL
NT51x86=NTx86,5.1,6.0
NT51x64=NTx64,5.1,6.0
NT60x86=NTx86,6.0
NT60x64=NTx64,6.0
NTx86=NTx86,5.1
NTx64=NTx64,5.1

[PATH]
BASE_EXECx86=PROGRAMFILESx86,"epson"
BASE_EXECx64=PROGRAMFILESx64,"epson"
ES2EXECx86=PROGRAMFILESx86,"epson\Epson Scan 2"
ES2EXECx64=PROGRAMFILESx64,"epson\Epson Scan 2"
ES2COREx86=PROGRAMFILESx86,"epson\Epson Scan 2\Core"
ES2COREx64=PROGRAMFILESx64,"epson\Epson Scan 2\Core"
ES2PLUGINSx86=PROGRAMFILESx86,"epson\Epson Scan 2\Core\Plugins"
ES2PLUGINSx64=PROGRAMFILESx64,"epson\Epson Scan 2\Core\Plugins"
ES2RESx86=PROGRAMFILESx86,"epson\Epson Scan 2\Core\Resources"
ES2RESx64=PROGRAMFILESx64,"epson\Epson Scan 2\Core\Resources"
ES2HELPx86.0411=PROGRAMFILESx86,"epson\Epson Scan 2\Core\Resources\0411"
ES2TWAIN32=WINDOWS,"twain_32\escndv2"
ES2TWAIN64=WINDOWS,"twain_64\escndv2"
ES2SYSx86=SYSTEMx86
ES2SYSx64=SYSTEMx64
ES2DATA.ROOT=PROGRAMDATA,"epson\Epson Scan 2"
ES2DATA.CUSTOM=PROGRAMDATA,"epson\Epson Scan 2\Settings"
ES2DATA.ES0177=PROGRAMDATA,"epson\Epson Scan 2\Models\ES0177"
ICCPROFILES=COLORPROFILES
SETUP=PROGRAMFILESx86,"epson\Epson Scan 2\Setup"
DRIVERS.ES0177=PROGRAMFILESx86,"epson\Epson Scan 2\Drivers\ES0177"
EPSONSTARTMENU=ALLUSERS_PROGRAM,EPSON
ES2STARTMENU=ALLUSERS_PROGRAM,"EPSON\Epson Scan 2"
DESKTOP=ALLUSERS_DESKTOP
RTEXEC=MODULEDIR,LIB
ESUPDATE=PROGRAMFILESx86,"epson\Epson Scan 2\Update"

[COPYFILES]
;SECTION = OS, PATH, LOCALIZE, CABorPATH
CORE32=ALL,ES2COREx86,0,Es2Core32.cab
PLUGINS32=ALL,ES2PLUGINSx86,0,Es2Plugins32.cab
RESOURCES32=ALL,ES2RESx86,2,Es2Res.cab
DATA32=ALL,ES2COREx86,0,Es2Data.cab
DSM32=ALL,ES2SYSx86,0,Es2Twain32.cab
PROFILES=ALL,ICCPROFILES,0,Es2Profiles.cab
ESSVC32=NTx86,ES2SYSx86,0,EsSvc.cab
ESSVC64=NTx64,ES2SYSx64,0,EsSvc.cab
DATACUSTOM=ALL,ES2DATA.CUSTOM,0
SETUP_RES=ALL,SETUP,1
SETUP=ALL,SETUP,0

[COPYFILES.ES0177]
WIA.ES0177=ALL,DRIVERS.ES0177,0
DS32.ES0177=ALL,ES2TWAIN32,0,Es2Twain32.cab
DATA.ES0177=ALL,ES2DATA.ES0177,0,ES0177.cab
ESI.ES0177=ALL,ES2DATA.ES0177,0

[CORE32]
es2launcher.exe,,0x10
es2utility.exe,,0x10
es2devedit.exe,,0x10
es2controller.dll,,0x10
es2devmgr.dll,,0x10
es2devfinder.dll,,0x10
es2datamgr.dll,,0x10
es2twain.dll,,0x10
es2ui.dll,,0x10
es2scanengine.dll,,0x10
es2command.dll,,0x10
es2image.dll,,0x10
es2fileformat.dll,,0x10
es2extapi.dll,,0x10
es2idconverter.dll,,0x10
es2scanner.dll,,0x10
es2logger.dll,,0x10
izenstrmapiu.dll,,0x10
license.txt

[PLUGINS32]
esddc.dll,,0x10
esddc.prm,,0x20,3553
esdde.dll,,0x10
esdde.prm,,0x20,14057
esdtr.dll,,0x10
esdtr2.dll,,0x10
esfit.dll,,0x10
esimfl.dll,,0x10
esimfl.prm,,0x20,3553
pdffile.dll,,0x10
pdflib.dll,,0x10

[RESOURCES32]
es2uires.dll,,0x10
es2help.chm,,0x60,15785

[DATA32]
common.db,,0x60,19727

[DSM32]
twaindsm.dll,,0x11

[ESSVC32]
escsvc.exe,,0x11

[ESSVC64]
escsvc64.exe,,0x11

[PROFILES]
ewsrgb.icm,,0x01
ewrgb18.icm,,0x01
ewgray18.icm,,0x01
ewgray22.icm,,0x01

[DATACUSTOM]
escustomize.json,,0x02

[SETUP_RES]
sures.dll,,0x10

[SETUP]
setup.exe,,0x10

[WIA.ES0177]
es0177.inf
es0177.cat
modusd.cab

[DS32.ES0177]
es0177.ds,es2entry.ds,0x10

[ESI.ES0177]
verinfo.esi,es0177.esi

[DATA.ES0177]
es0177.db,,0x20,19727
es0177.dti,,0x20,19727
es0177_hw.db,,0x22,19727

[DEVICES.ES0177]
;INDEX = DEVICE
ES0177=USB\VID_04B8&PID_114A&MI_00

[DRIVERS.ES0177]
;INDEX = OS, PATH, FILE, DEVICE
ES0177=ALL,DRIVERS.ES0177,es0177.inf,USB\VID_04B8&PID_114A&MI_00

[SHORTCUT]
;INDEX = OS, PATH, NAME, PATH, FILE
1=ALL,ES2STARTMENU,"Epson Scan 2",ES2COREx86,es2launcher.exe
2=ALL,ES2STARTMENU,"Epson Scan 2 Utility",ES2COREx86,es2utility.exe

[EVENTAPP]
;INDEX = OS, NAME, PATH, FILE
1=ALL,"Epson Scan 2",ES2COREx86, es2launcher.exe

[UNINSTALL]
;INDEX = OS, NAME, PATH
1=ALL,"Epson Scan 2",SETUP

[ADDREG]
;INDEX = OS, ROOT, KEY, NAME, TYPE, VALUE, OPTIONS
1=ALL,HKLM,SOFTWARE\EPSON\Epson Scan 2,BaseModulePath,1,"$PATH:ES2EXECx86$",0x00
2=ALL,HKLM,SOFTWARE\EPSON\Epson Scan 2,BaseDataPath,1,"$PATH:ES2DATA.ROOT$",0x00

[ADDPATH]
;INDEX = OS, PATH, FILE, OPTIONS
1=ALL,ES2COREx86,es2launcher.exe,0x00
2=ALL,ES2COREx86,es2utility.exe,0x00

[UNINSTALLREG]
;INDEX = OS, ROOT, KEY, OPTIONS
1=ALL,HKLM,"SOFTWARE\EPSON\Epson Scan 2",0x00

[ADDREG.ES0177]
;INDEX = OS, ROOT, KEY, NAME, TYPE, VALUE, OPTIONS
1=ALL,HKLM,SOFTWARE\EPSON\Epson Scan 2\SoftwareInfo\Printer,"EPSON M2140 Series",1,"$PATH:ES2DATA.ES0177$\verinfo.esi",0x00
2=ALL,HKLM,SOFTWARE\EPSON\Epson Scan 2\ES0177,"EventNum",0,0x4,0x00
3=ALL,HKLM,SOFTWARE\EPSON\Epson Scan 2\ES0177,"EventAppName",1,"Epson Event Manager",0x00
4=ALL,HKLM,SOFTWARE\EPSON\Epson Scan 2\ES0177,"EventAppPath",1,"0,Epson Software\Event Manager\EEventManager.exe",0x00

[EXTPROGRAMS]
;INDEX = OS, STATE, PATH, FILE, OPTIONS, PARAM, PARAMIDX
1=ALL,1,RTEXEC,vcredist_x86.exe,0x01,/q /norestart

[ADDSCANNER]
;INDEX = OS, PATH, FILE
1=ALL,ES2COREx86,es2utility.exe

[UNINSTALLFILES]
;FILESECTION = OS, PATH, FILEorFOLDER(1:Folder), OPTIONS(1:Force)
EPSONx86=ALL,BASE_EXECx86,1,0
ES2COREx86=ALL,ES2EXECx86,1,1
ES2DS32=ALL,ES2TWAIN32,1,0
ES2DATA=ALL,ES2DATA.ROOT,1,0
ES2SHORTCUT=ALL,ES2STARTMENU,1,1
EPSONSHORTCUT=ALL,EPSONSTARTMENU,1,0

[UNINSTALLFILES.ES0177]
;FILESECTION = OS, PATH, FILEorFOLDER(1:Folder), OPTIONS(1:Force)
DS32.ES0177=ALL,ES2TWAIN32,0,0
DATA.ES0177=ALL,ES2DATA.ES0177,1,1

[SERVICES]
;INDEX = OS, NAME, DISPLAYNAME, PATH, FILE, PARAM, OPTIONS
1=NTx86,"EpsonScanSvc","Epson Scanner Service",ES2SYSx86,EscSvc.exe,,0x1
2=NTx64,"EpsonScanSvc","Epson Scanner Service",ES2SYSx64,EscSvc64.exe,,0x1


