;
; Common Variables
; * Directories *
;     %MAIN_TARGET%     = main target directory of the main installer
;     %PROGRAMFILES%    = program files folder (ex. c:\Program Files)
;     %WINDIR%          = Windows folder (ex. c:\Winnt)
;     %SYSTEM%          = Windows System folder (ex. c:\Windows\system for Win9x, c:\Windows\system32 for NT platform)
;     %TEMP%            = System Temporary folder
;     %CURRENT%         = Current folder
;     %DESKTOP%         = Windows desktop folder
;     %STARTMENU%       = Windows Start Menu folder
;     %DEFAULT_TARGET%  = Default target folder in this package installer
;
; * *
;     %MODEL_KEY%       = Model specific key (ex. FS-1010, KM-1820, FS-1118MFP, etc.)
;
; * Install Section *
;   [Setup] is the default install section
;   [%MODEL_KEY%] is the install section of the specific model
;                 ex. [FS-1010,FS-1118MFP] <- This section will be a install section for FS-1010 and FS-1118MFP
;
; * OS decoration
;   .9x         = Win9x
;   .nt         = NT platform
;   .nt4        = NT 4.0
;   .nt5        = 2K or later
;   .ntamd64    = AMD 64 machine (XP or later)
;   .ntia64     = IA 64 machine (XP or later)
;

[Version]
Provider   = Kyocera
Version  = 08/04/2021,3.0.4403

[Information]
PackageKey = TWAIN
PackageType = APP
Category = DRIVER
Name = "Kyocera TWAIN Driver"
Description = %TWAIN_DESC%
Location = OVERSEA,EU,US
MinOSVersion = 5.0
MaxOSVersion = 10.0
Connection = NET,USB
Attribute = 
Required = MSUSBSCN,KMWINUSB1
Handler = DriverDll.dll
TargetPath = <MainTarget>
InstallOnARM = 0

[Private]
MainTarget = "<ProgramFiles>\Kyocera\KMTWAIN"
[SourcePath]
TWAIN_DLL = <MainSource>\%dll_loc%
TWAIN_PROC_32 = <MainSource>\twain_32
TWAIN_PROC_32_all = <MainSource>\twain_32
TWAIN_PROC_64_all = <MainSource>\twain_64
KDSTWAIN_PROC_32_all = <MainSource>\twain_32\KDSTWAIN
DEVICETWAIN_PROC_32_all = <MainSource>\twain_32\KDSTWAIN\DEVICEXML
LANGTWAIN_PROC_32_all = <MainSource>\twain_32\KDSTWAIN\LANG\en
LANGTWAIN_PROC_32_all_ja = <MainSource>\twain_32\KDSTWAIN\LANG\ja
KDSTWAIN_PROC_64_all = <MainSource>\twain_64\KDSTWAIN
DEVICETWAIN_PROC_64_all = <MainSource>\twain_64\KDSTWAIN\DEVICEXML
LANGTWAIN_PROC_64_all = <MainSource>\twain_64\KDSTWAIN\LANG\en
LANGTWAIN_PROC_64_all_ja = <MainSource>\twain_64\KDSTWAIN\LANG\ja
TWAIN_PROC_64 = <MainSource>\twain_64
TWAIN_LANG = <MainSource>\LANG\%TWAIN_LANGUAGE%
TWAIN_SOURCE_COPY = <MainSource>
; ProgramFiles
TWAIN_PROGRAM_LANG = <MainSource>\LANG\%TWAIN_LANGUAGE%
TWAIN_PROGRAM_FILES = <MainSource>
TWAIN_PROGRAM_DLL = <MainSource>\%dll_loc%
TWAIN = <MainSource>

[TargetPath]
TWAIN_DLL = <WindowsDir>\twain_32\KMTWAIN
TWAIN_PROC_32 = <WindowsDir>\twain_32
TWAIN_PROC_32_all = "<WindowsDir>\twain_32\KMTWAIN"
KDSTWAIN_PROC_32_all = "<WindowsDir>\twain_32\KDSTWAIN"
DEVICETWAIN_PROC_32_all = "<WindowsDir>\twain_32\KDSTWAIN\DEVICEXML"
LANGTWAIN_PROC_32_all = "<WindowsDir>\twain_32\KDSTWAIN\LANG\en"
LANGTWAIN_PROC_32_all_ja = "<WindowsDir>\twain_32\KDSTWAIN\LANG\ja"
KDSTWAIN_PROC_64_all = "<WindowsDir>\twain_64\KDSTWAIN"
DEVICETWAIN_PROC_64_all = "<WindowsDir>\twain_64\KDSTWAIN\DEVICEXML"
LANGTWAIN_PROC_64_all = "<WindowsDir>\twain_64\KDSTWAIN\LANG\en"
LANGTWAIN_PROC_64_all_ja = "<WindowsDir>\twain_64\KDSTWAIN\LANG\ja"
TWAIN_PROC_64 = <WindowsDir>\twain_64
TWAIN_LANG = <WindowsDir>\twain_32\KMTWAIN\
TWAIN_SOURCE_COPY = <WindowsDir>\twain_32\KMTWAIN
;ProgramFiles
TWAIN_PROGRAM_FILES = <ProgramFiles>\Kyocera\KMTWAIN
TWAIN_PROGRAM_LANG = <ProgramFiles>\Kyocera\KMTWAIN
TWAIN_PROGRAM_DLL = <ProgramFiles>\Kyocera\KMTWAIN
TWAIN = "<WindowsDir>\TWAIN_32\KMTWAIN"


[TargetPath.x64]
TWAIN_DLL = <WindowsDir>\twain_32\KMTWAIN
TWAIN_PROC_32 = <WindowsDir>\twain_32
TWAIN_PROC_64 = <WindowsDir>\twain_64
TWAIN_PROC_32_all = "<WindowsDir>\twain_32\KMTWAIN"
TWAIN_PROC_64_all = "<WindowsDir>\twain_64\KMTWAIN"
KDSTWAIN_PROC_32_all = "<WindowsDir>\twain_32\KDSTWAIN"
DEVICETWAIN_PROC_32_all = "<WindowsDir>\twain_32\KDSTWAIN\DEVICEXML"
LANGTWAIN_PROC_32_all = "<WindowsDir>\twain_32\KDSTWAIN\LANG\en"
LANGTWAIN_PROC_32_all_ja = "<WindowsDir>\twain_32\KDSTWAIN\LANG\ja"

KDSTWAIN_PROC_64_all = "<WindowsDir>\twain_64\KDSTWAIN"
DEVICETWAIN_PROC_64_all = "<WindowsDir>\twain_64\KDSTWAIN\DEVICEXML"
LANGTWAIN_PROC_64_all = "<WindowsDir>\twain_64\KDSTWAIN\LANG\en"
LANGTWAIN_PROC_64_all_ja = "<WindowsDir>\twain_64\KDSTWAIN\LANG\ja"

TWAIN_LANG = <WindowsDir>\twain_32\KMTWAIN\
TWAIN_SOURCE_COPY = <WindowsDir>\twain_32\KMTWAIN
TWAIN_PROGRAM_FILES = <ProgramFilesX86>\Kyocera\KMTWAIN
TWAIN_PROGRAM_LANG = <ProgramFilesX86>\Kyocera\KMTWAIN
TWAIN_PROGRAM_DLL = <ProgramFilesX86>\Kyocera\KMTWAIN
TWAIN = "<WindowsDir>\TWAIN_32\KMTWAIN"

[Default]
PortName=<PortName>

[Install]
DelFiles = TWAIN_PROC_32_all,KDSTWAIN_PROC_32_all,DEVICETWAIN_PROC_32_all,LANGTWAIN_PROC_32_all,LANGTWAIN_PROC_32_all_ja
DelFiles = KDSTWAIN_PROC_64_all,DEVICETWAIN_PROC_64_all,LANGTWAIN_PROC_64_all,LANGTWAIN_PROC_64_all_ja
DelFiles = TWAIN_SOURCE_COPY,TWAIN_DLL,TWAIN_LANG,TWAIN
DelFiles = TWAIN_PROGRAM_FILES,TWAIN_PROGRAM_LANG,TWAIN_PROGRAM_DLL,TWAIN
;DelDirs = DIRS
CopyFiles = TWAIN_SOURCE_COPY,TWAIN_DLL,TWAIN_LANG
CopyFiles = TWAIN_PROGRAM_FILES,TWAIN_PROGRAM_LANG,TWAIN_PROGRAM_DLL
CopyFiles = TWAIN 
CopyDirs = TWAIN_PROC_32
ExecFiles = AppInstallNormal

AddItemARP = ARP
AddLinks = TLink

[Install.x64]
DelFiles = TWAIN_PROC_32_all,KDSTWAIN_PROC_32_all,DEVICETWAIN_PROC_32_all,LANGTWAIN_PROC_32_all,LANGTWAIN_PROC_32_all_ja
DelFiles = KDSTWAIN_PROC_64_all,DEVICETWAIN_PROC_64_all,LANGTWAIN_PROC_64_all,LANGTWAIN_PROC_64_all_ja
DelFiles = TWAIN_SOURCE_COPY,TWAIN_DLL,TWAIN_LANG,TWAIN
DelFiles = TWAIN_PROGRAM_FILES,TWAIN_PROGRAM_LANG,TWAIN_PROGRAM_DLL,TWAIN
;DelDirs = DIRS
CopyFiles = TWAIN_SOURCE_COPY,TWAIN_DLL,TWAIN_LANG
CopyFiles = TWAIN_PROGRAM_FILES,TWAIN_PROGRAM_LANG,TWAIN_PROGRAM_DLL
CopyFiles = TWAIN 
CopyDirs = TWAIN_PROC_32,TWAIN_PROC_64
ExecFiles = AppInstallNormal
AddItemARP = ARP
AddLinks = TLink

[Install.NET]
DelFiles = TWAIN_PROC_32_all,KDSTWAIN_PROC_32_all,DEVICETWAIN_PROC_32_all,LANGTWAIN_PROC_32_all,LANGTWAIN_PROC_32_all_ja
DelFiles = KDSTWAIN_PROC_64_all,DEVICETWAIN_PROC_64_all,LANGTWAIN_PROC_64_all,LANGTWAIN_PROC_64_all_ja
DelFiles = TWAIN_SOURCE_COPY,TWAIN_DLL,TWAIN_LANG,TWAIN
DelFiles = TWAIN_PROGRAM_FILES,TWAIN_PROGRAM_LANG,TWAIN_PROGRAM_DLL,TWAIN
;DelDirs = DIRS
CopyFiles = TWAIN_SOURCE_COPY,TWAIN_DLL,TWAIN_LANG
CopyDirs = TWAIN_PROC_32
CopyFiles = TWAIN_PROGRAM_FILES,TWAIN_PROGRAM_LANG,TWAIN_PROGRAM_DLL
CopyFiles = TWAIN 
ExecFiles = AppInstallNET
AddItemARP = ARP
AddLinks = TLink

[Install.NET.x64]
DelFiles = TWAIN_PROC_32_all,KDSTWAIN_PROC_32_all,DEVICETWAIN_PROC_32_all,LANGTWAIN_PROC_32_all,LANGTWAIN_PROC_32_all_ja
DelFiles = KDSTWAIN_PROC_64_all,DEVICETWAIN_PROC_64_all,LANGTWAIN_PROC_64_all,LANGTWAIN_PROC_64_all_ja
DelFiles = TWAIN_SOURCE_COPY,TWAIN_DLL,TWAIN_LANG,TWAIN
DelFiles = TWAIN_PROGRAM_FILES,TWAIN_PROGRAM_LANG,TWAIN_PROGRAM_DLL,TWAIN
;DelDirs = DIRS
CopyFiles = TWAIN_SOURCE_COPY,TWAIN_DLL,TWAIN_LANG
CopyFiles = TWAIN_PROGRAM_FILES,TWAIN_PROGRAM_LANG,TWAIN_PROGRAM_DLL
CopyFiles = TWAIN 
CopyDirs = TWAIN_PROC_32,TWAIN_PROC_64
ExecFiles = AppInstallNET
AddItemARP = ARP
AddLinks = TLink

[TWAIN_PROC_32]
*.*,true

[TWAIN_PROC_64]
*.*,true

[Remove]
DelFiles = TWAIN_PROC_32_all,KDSTWAIN_PROC_32_all,DEVICETWAIN_PROC_32_all,LANGTWAIN_PROC_32_all,LANGTWAIN_PROC_32_all_ja
DelFiles = KDSTWAIN_PROC_64_all,DEVICETWAIN_PROC_64_all,LANGTWAIN_PROC_64_all,LANGTWAIN_PROC_64_all_ja
DelItemARP = ARP
DelLinks = TLink
DelFiles = TWAIN_SOURCE_COPY,TWAIN_DLL,TWAIN_LANG,TWAIN
DelFiles = TWAIN_PROGRAM_FILES,TWAIN_PROGRAM_LANG,TWAIN_PROGRAM_DLL,TWAIN
DelItemARP = ARP
DelLinks = TLink
DelDirs = DIRS

[Upgrade]
ExecFiles = RemoveOldARP
; start remove
DelFiles = TWAIN_PROC_32_all,KDSTWAIN_PROC_32_all,DEVICETWAIN_PROC_32_all,LANGTWAIN_PROC_32_all,LANGTWAIN_PROC_32_all_ja
DelFiles = KDSTWAIN_PROC_64_all,DEVICETWAIN_PROC_64_all,LANGTWAIN_PROC_64_all,LANGTWAIN_PROC_64_all_ja
DelItemARP = ARP
DelLinks = TLink
DelFiles = TWAIN_SOURCE_COPY,TWAIN_DLL,TWAIN_LANG,TWAIN
DelFiles = TWAIN_PROGRAM_FILES,TWAIN_PROGRAM_LANG,TWAIN_PROGRAM_DLL,TWAIN
DelItemARP = ARP
DelLinks = TLink
;DelDirs = DIRS
; end remove
CopyFiles = TWAIN_SOURCE_COPY,TWAIN_DLL,TWAIN_LANG
CopyFiles = TWAIN_PROGRAM_FILES,TWAIN_PROGRAM_LANG,TWAIN_PROGRAM_DLL
CopyFiles = TWAIN 
CopyDirs = TWAIN_PROC_32
ExecFiles = AppInstallForUpgrade
AddItemARP = ARP
AddLinks = TLink

[Upgrade.x64]
ExecFiles = RemoveOldARP
; start remove
DelFiles = TWAIN_PROC_32_all,KDSTWAIN_PROC_32_all,DEVICETWAIN_PROC_32_all,LANGTWAIN_PROC_32_all,LANGTWAIN_PROC_32_all_ja
DelFiles = KDSTWAIN_PROC_64_all,DEVICETWAIN_PROC_64_all,LANGTWAIN_PROC_64_all,LANGTWAIN_PROC_64_all_ja
DelItemARP = ARP
DelLinks = TLink
DelFiles = TWAIN_SOURCE_COPY,TWAIN_DLL,TWAIN_LANG,TWAIN
DelFiles = TWAIN_PROGRAM_FILES,TWAIN_PROGRAM_LANG,TWAIN_PROGRAM_DLL,TWAIN
DelItemARP = ARP
DelLinks = TLink
;DelDirs = DIRS
; end remove
CopyFiles = TWAIN_SOURCE_COPY,TWAIN_DLL,TWAIN_LANG
CopyFiles = TWAIN_PROGRAM_FILES,TWAIN_PROGRAM_LANG,TWAIN_PROGRAM_DLL
CopyFiles = TWAIN 
CopyDirs = TWAIN_PROC_32,TWAIN_PROC_64
ExecFiles = AppInstallForUpgrade
AddItemARP = ARP
AddLinks = TLink


[RemoveOldARP]
InstallCmd = "<MainSource>\OldInstall\setup.exe /uninst"

[Verify]
VerifyApps = verApp

[verApp]
CompareVersion = VERIFY_INI_ARP,"<MainSource>\twain.pnf","Kyocera TWAIN Driver",PRODUCTVERSION

[verApp.x64]
CompareVersion = VERIFY_INI_ARP,"<MainSource>\twain.pnf","Kyocera TWAIN Driver",PRODUCTVERSION

[LANGTWAIN_PROC_32_all]
Resource.dll

[LANGTWAIN_PROC_32_all_ja]
Resource.dll

[DEVICETWAIN_PROC_32_all]
ECOSYS M2040dn (USB).xml
ECOSYS M2040dn.xml
ECOSYS M2135dn (USB).xml
ECOSYS M2135dn.xml
ECOSYS M2540dn (USB).xml
ECOSYS M2540dn.xml
ECOSYS M2540dw (USB).xml
ECOSYS M2540dw.xml
ECOSYS M2635dn (USB).xml
ECOSYS M2635dn.xml
ECOSYS M2635dw (USB).xml
ECOSYS M2635dw.xml
ECOSYS M2640idw (USB).xml
ECOSYS M2640idw.xml
ECOSYS M2735dw (USB).xml
ECOSYS M2735dw.xml
ECOSYS M3560idn (USB).xml
ECOSYS M3560idn.xml
ECOSYS M5021cdn (USB).xml
ECOSYS M5021cdn.xml
ECOSYS M5520cdn (USB).xml
ECOSYS M5520cdn.xml
ECOSYS M5520cdw (USB).xml
ECOSYS M5520cdw.xml
ECOSYS M5521cdn (USB).xml
ECOSYS M5521cdn.xml
ECOSYS M5521cdw (USB).xml
ECOSYS M5521cdw.xml
ECOSYS M5525cdn (USB).xml
ECOSYS M5525cdn.xml
ECOSYS M5526cdn (USB).xml
ECOSYS M5526cdn.xml
ECOSYS M5526cdw (USB).xml
ECOSYS M5526cdw.xml
ECOSYS M5526cdw_0.xml
TASKalfa 3511i.xml

[KDSTWAIN_PROC_32_all]
KMSCNAPI.dll
KMUSBSCN2.dll
SCANCOMMAPI.dll
SCANCONFIG.xsd
SCANCONFIGLIST.xsd
TWAIN_DS.ds
TWAIN_UI.dll
VersionInfo.ini

;; for 64 bit

[LANGTWAIN_PROC_64_all]
Resource.dll

[LANGTWAIN_PROC_64_all_ja]
Resource.dll

[DEVICETWAIN_PROC_64_all]
ECOSYS M2040dn (USB).xml
ECOSYS M2040dn.xml
ECOSYS M2135dn (USB).xml
ECOSYS M2135dn.xml
ECOSYS M2540dn (USB).xml
ECOSYS M2540dn.xml
ECOSYS M2540dw (USB).xml
ECOSYS M2540dw.xml
ECOSYS M2635dn (USB).xml
ECOSYS M2635dn.xml
ECOSYS M2635dw (USB).xml
ECOSYS M2635dw.xml
ECOSYS M2640idw (USB).xml
ECOSYS M2640idw.xml
ECOSYS M2735dw (USB).xml
ECOSYS M2735dw.xml
ECOSYS M3560idn (USB).xml
ECOSYS M3560idn.xml
ECOSYS M5021cdn (USB).xml
ECOSYS M5021cdn.xml
ECOSYS M5520cdn (USB).xml
ECOSYS M5520cdn.xml
ECOSYS M5520cdw (USB).xml
ECOSYS M5520cdw.xml
ECOSYS M5521cdn (USB).xml
ECOSYS M5521cdn.xml
ECOSYS M5521cdw (USB).xml
ECOSYS M5521cdw.xml
ECOSYS M5525cdn (USB).xml
ECOSYS M5525cdn.xml
ECOSYS M5526cdn (USB).xml
ECOSYS M5526cdn.xml
ECOSYS M5526cdw (USB).xml
ECOSYS M5526cdw.xml
ECOSYS M5526cdw_0.xml
TASKalfa 3511i.xml

[KDSTWAIN_PROC_64_all]
KMSCNAPI.dll
KMUSBSCN2.dll
SCANCOMMAPI.dll
SCANCONFIG.xsd
SCANCONFIGLIST.xsd
TWAIN_DS.ds
TWAIN_UI.dll 

;; end 64 bit

[TWAIN_PROC_32_all]
AppliInfo.dat
;Choose_Folder.dll
CreateSourceN.exe
DEVICELIST.xml
DEVICELIST.xsd
;gdiplus.dll
kcTwain03DS.ds
KMBOXAPI.dll
KmInst32.exe
;KMScanList.dat
KMSCNAPI.dll
KMSCNSET.DLL
KMSCNTOOL.dll
KMSCN_W2_API.dll
;kmsoap.dll
;KMSOAP2.dll
KMTWAINGUI.dll
KMTWAINGUIWC3.dll
;KMTWAINLang.dll
;KmTwainList.exe
KMTWGUILang.dll
KMTWHELP.chm
KMUSBSCN.dll
KMUSBSCN2.dll
KMWSDLTWAIN.ds
;logo.bmp
Ns1815TW.dll
Ns1815TW2.dll
Ns1815TW2Lang.dll
Ns1815TWLang.dll
N_SCANCONFIG.xsd
N_SCANPARAMLIST.xml
N_SCANPARAMLIST.xsd
SCANCONFIG.xsd
SCANPARAMLIST.xml
SCANPARAMLIST.xsd
;SysInst2.exe
Twain.pnf
TWAINCom.dll
TWAINCom2.dll
;TWAINHelp.chm
;TWAININFO.INI
;TWAINSet.chm
;TWAIN_Help.chm
USERINFOCONFIG.xsd

[TWAIN_PROC_64_all]
AppliInfo.dat
Choose_Folder.dll
CreateSourceN.exe
DEVICELIST.xml
DEVICELIST.xsd
gdiplus.dll
kcTwain03DS.ds
KMBOXAPI.dll
KmInst32.exe
KMScanList.dat
KMSCNAPI.dll
KMSCNSET.DLL
KMSCNTOOL.dll
KMSCN_W2_API.dll
kmsoap.dll
KMSOAP2.dll
KMTWAINGUI.dll
KMTWAINGUIWC3.dll
KMTWAINLang.dll
KmTwainList.exe
KMTWGUILang.dll
KMTWHELP.chm
KMUSBSCN.dll
KMUSBSCN2.dll
KMWSDLTWAIN.ds
logo.bmp
Ns1815TW.dll
Ns1815TW2.dll
Ns1815TW2Lang.dll
Ns1815TWLang.dll
N_SCANCONFIG.xsd
N_SCANPARAMLIST.xml
N_SCANPARAMLIST.xsd
SCANCONFIG.xsd
SCANPARAMLIST.xml
SCANPARAMLIST.xsd
SysInst2.exe
Twain.pnf
TWAINCom.dll
TWAINCom2.dll
TWAINHelp.chm
TWAININFO.INI
TWAINSet.chm
TWAIN_Help.chm
USERINFOCONFIG.xsd

[TWAIN]
CreateSourceN.exe
KMSCNSET.DLL

[TLink]
"Twain Driver Setting" = "<WindowsDir>\twain_32\KMTWAIN\KmTwainList.exe","<Startmenu>\Kyocera","<WindowsDir>\twain_32\KMTWAIN\KMTwainlist.exe",%TWAIN_DESC%

[TWAIN_PROGRAM_LANG]
KMTWAINLang.dll
TWAIN_Help.chm
TWAINHelp.chm
TWAINSet.chm

[TWAIN_LANG]
KMTWAINLang.dll
KMTWGUILang.dll
KMTWHELP.chm
Ns1815TW2Lang.dll
Ns1815TWLang.dll
TWAINHelp.chm
TWAINSet.chm
TWAIN_Help.chm

[TWAIN_PROGRAM_FILES]
Choose_Folder.dll
DEVICELIST.xml
gdiplus.dll
KmInst32.exe
KMScanList.dat
kmsoap.dll
KMSOAP2.dll
logo.bmp
SysInst2.exe
Twain.pnf
TWAININFO.INI

[TWAIN_SOURCE_COPY]
Choose_Folder.dll
DEVICELIST.xml
gdiplus.dll
KmInst32.exe
KMScanList.dat
kmsoap.dll
KMSOAP2.dll
logo.bmp
SysInst2.exe
Twain.pnf
TWAININFO.INI


[TWAIN_PROGRAM_DLL]
KmTWAINList.exe

[TWAIN_DLL]
KmTwainList.exe


[DIRS]
"<ProgramFiles>\Kyocera\KMTWAIN",REMOVE_ALL
"<WindowsDir>\twain_32\KMTWAIN",REMOVE_ALL
"<WindowsDir>\twain_32\KDSTWAIN\LANG"
"<WindowsDir>\twain_32\KDSTWAIN\DEVICEXML"
"<WindowsDir>\twain_32\KDSTWAIN"
"<WindowsDir>\twain_32"
"<WindowsDir>\twain_64\KDSTWAIN\LANG"
"<WindowsDir>\twain_64\KDSTWAIN\DEVICEXML"
"<WindowsDir>\twain_64\KDSTWAIN"
"<WindowsDir>\twain_64"
"<USERAPPDATA>\Kyocera\KM_TWAIN",REMOVE_ALL
"<USERAPPDATA>\Kyocera\KM_TWAIN2",REMOVE_ALL

[AppInstallNormal]
InstallCmd = "<WindowsDir>\TWAIN_32\KMTWAIN\CreateSourceN.exe "<ModelKey>""

[AppInstallNET]
InstallCmd = "<WindowsDir>\TWAIN_32\KMTWAIN\CreateSourceN.exe "<ModelKey>" <ip>"

[AppInstallForUpgrade]
InstallCmd = "<WindowsDir>\TWAIN_32\KMTWAIN\CreateSourceN.exe"

[ARP]
"Kyocera TWAIN Driver","Kyocera TWAIN Driver",<WindowsDir>\TWAIN_32\KMTWAIN\KmInst32.exe REMOVE -i Twain.pnf,KYOCERA Document Solutions Inc.,<WindowsDir>\TWAIN_32\KMTWAIN,KmInst32.exe



[Strings.u]
TWAIN_DESC = "Scan from TWAIN-supported applications"
TWAIN_LANGUAGE = "enu"
dll_loc = "DLL_LTR"

[Strings.u.0009]
TWAIN_DESC = "Scan from TWAIN-supported applications"
TWAIN_LANGUAGE = "enu"
dll_loc = "DLL_LTR"

;French
[Strings.u.000c]
TWAIN_DESC = "Numérisez directement à partir d'applications prises en charge par TWAIN"
TWAIN_LANGUAGE = fra
dll_loc = "DLL_LTR"

;German
[Strings.u.0007]
TWAIN_DESC = "Scannen direkt von TWAIN-unterstützten Programmen"
TWAIN_LANGUAGE = "enu"
dll_loc = "DLL_LTR"

;Italian
[Strings.u.0010]
TWAIN_DESC = "Acquisisci direttamente da applicazioni supportate da TWAIN"
TWAIN_LANGUAGE = "ita"
dll_loc = "DLL_LTR"

;Japanese
[Strings.u.0011]
TWAIN_DESC = "TWAIN対応アプリケーションからのスキャンをサポートします"
TWAIN_LANGUAGE = "jpn"
dll_loc = "DLL_LTR"

;Korean
[Strings.u.0012]
TWAIN_DESC = "TWAIN 지원 응용 프로그램에서 직접 스캐닝"
TWAIN_LANGUAGE = "kor"
dll_loc = "DLL_LTR"

;PO-BR
[Strings.u.0016]
TWAIN_DESC = "Digitalizar diretamente de aplicativos suportados TWAIN"
TWAIN_LANGUAGE = "ptb"
dll_loc = "DLL_LTR"

;Spanish
[Strings.u.000a]
TWAIN_DESC = "Escanear directamente de aplicaciones que admiten TWAIN"
TWAIN_LANGUAGE = "esp"
dll_loc = "DLL_LTR"

;Czech
[Strings.u.0005]
TWAIN_DESC = "Skenovat přímo z aplikací podporujících rozhraní TWAIN"
TWAIN_LANGUAGE = "cze"
dll_loc = "DLL_LTR"

;Russian
[Strings.u.0019]
TWAIN_DESC = "Сканирование непосредственно из приложений с поддержкой TWAIN"
TWAIN_LANGUAGE = "rus"
dll_loc = "DLL_LTR"

;Dutch
[Strings.u.0013]
TWAIN_DESC = "Rechtstreeks scannen vanuit toepassingen met TWAIN-ondersteuning"
TWAIN_LANGUAGE = "deu"
dll_loc = "DLL_LTR"

;Polish
[Strings.u.0015]
TWAIN_DESC = "Skanuj bezpośrednio z aplikacji obsługujących TWAIN"
TWAIN_LANGUAGE = "pol"
dll_loc = "DLL_LTR"

;SChi
[Strings.u.00c0]
TWAIN_DESC = "直接在支持 TWAIN 的应用程序中扫描"
TWAIN_LANGUAGE = "chs"
dll_loc = "DLL_LTR"

;TChi
[Strings.u.00c1]
TWAIN_DESC = "直接從支援 TWAIN 的應用程式掃瞄"
TWAIN_LANGUAGE = "cht"
dll_loc = "DLL_LTR"

;Swedish
[Strings.u.001d]
TWAIN_DESC = "Läs av direkt från program med TWAIN-stöd"
TWAIN_LANGUAGE = "swe"
dll_loc = "DLL_LTR"

;Norwegian
[Strings.u.0014]
TWAIN_DESC = "Skann direkte fra TWAIN-støttede applikasjoner"
TWAIN_LANGUAGE = "nor"
dll_loc = "DLL_LTR"

;Hungarian
[Strings.u.000e]
TWAIN_DESC = "Közvetlen beolvasás a TWAIN-kompatiblis alkalmazásokról"
TWAIN_LANGUAGE = "hun"
dll_loc = "DLL_LTR"

;Finnish
[Strings.u.000b]
TWAIN_DESC = "Skannaa suoraan sovelluksista, joissa on TWAIN-tuki"
TWAIN_LANGUAGE = "fin"
dll_loc = "DLL_LTR"


;Greek
[Strings.u.0008]
TWAIN_DESC = "Άμεση σάρωση μέσω των εφαρμογών TWAIN"
TWAIN_LANGUAGE = "enu"
dll_loc = "DLL_LTR"

;Turkish
[Strings.u.001f]
TWAIN_DESC = "Doğrudan TWAIN destekli uygulamalardan tarayın"
TWAIN_LANGUAGE = "trk"
dll_loc = "DLL_LTR"

;Danish
[Strings.u.0006]
TWAIN_DESC = "Direkte scanning fra TWAIN-understøttede programmer"
TWAIN_LANGUAGE = "dnk"
dll_loc = "DLL_LTR"

;Portugal
[Strings.u.0816]
TWAIN_DESC = "Digitalizar directamente a partir das aplicações suportadas por TWAIN"
TWAIN_LANGUAGE = "pol"
dll_loc = "DLL_LTR"


;Catalan
[Strings.u.0003]
TWAIN_DESC = "Escaneja des d'aplicacions compatibles amb TWAIN"
TWAIN_LANGUAGE = "cat"
dll_loc = "DLL_LTR"

;Arabic
[Strings.u.0001]
TWAIN_DESC = "المسح الضوئي من التطبيقات التي تدعم TWAIN"
TWAIN_LANGUAGE = "ara"
dll_loc = "DLL_RTL"


;Romanian
[Strings.u.0018]
TWAIN_DESC = "Scanare din aplicaţii suportate de TWAIN"
TWAIN_LANGUAGE = "enu"
dll_loc = "DLL_LTR"
