
[Version]
Provider   = Kyocera
Version  = 07/24/2017,5.0.6015

[Setup]
LogoBitmap = KxLogo.png

[Information]
PackageKey = STATUSMON
PackageType = APP
GUID = %PRODUCT_GUID%
Category = UTILITY
Name = "Status Monitor 5"
Description = %STATUSMON_DESC%
Location = 
MinOSVersion = 5.0
MaxOSVersion = 10.0
Connection = 
Attribute = 
Required = KDSERVICE
Handler = StmSubDll.dll
ProductVersion = BY_EXE_PRODUCT_VER,"KDSSTM.exe"
Enable = CHECKENABLE

[CHECKENABLE]
InstallStatus = 
ModelWithPackage = STM_MODEL
IgnoreDriverInstallStatus = 1
EnableBasedOnSelectedWSGroup = 1

[STM_MODEL]
ECOSYS P6021cdn,,"KX"
ECOSYS P6026cdn,,"KX"
ECOSYS M2030dn,,"KX"
ECOSYS M2530dn,,"KX"
ECOSYS M2035dn,,"KX"
ECOSYS M2535dn,,"KX"
ECOSYS M6026cdn,,"KX"
ECOSYS M6526cdn,,"KX"
ECOSYS M6026cidn,,"KX"
ECOSYS M6526cidn,,"KX"
TASKalfa 266ci,,"KX"
ECOSYS P6021cdn,,"KX"
ECOSYS P6026cdn,,"KX"
ECOSYS P6030cdn,,"KX"
ECOSYS P2135dn,,"KX"
ECOSYS P7035cdn,,"KX"
ECOSYS M3040dn,,"KX"
ECOSYS M3540dn,,"KX"
ECOSYS M3040idn,,"KX"
ECOSYS M3540idn,,"KX"
ECOSYS M3550idn,,"KX"
ECOSYS M3560idn,,"KX"
ECOSYS M6030cdn,,"KX"
ECOSYS M6530cdn,,"KX"
ECOSYS M6035cidn,,"KX"
ECOSYS M6535cidn,,"KX"
ECOSYS P6130cdn,,"KX"
ECOSYS P6035cdn,,"KX"
ECOSYS P7040cdn,,"KX"
ECOSYS P4040dn,,"KX"
ECOSYS P4035dn,,"KX"
TASKalfa 306ci,,"KX"
TASKalfa 356ci,,"KX"
TASKalfa 406ci,,"KX"
CS 306ci,,"KX"
CS 356ci,,"KX"
CS 406ci,,"KX"
ECOSYS P2235dn,,"KX"
ECOSYS P2040dn,,"KX"
ECOSYS M2135dn,,"KX"
ECOSYS M2635dn,,"KX"
ECOSYS M2040dn,,"KX"
ECOSYS M2540dn,,"KX"
ECOSYS P2235dw,,"KX"
ECOSYS P2040dw,,"KX"
ECOSYS M2635dw,,"KX"
ECOSYS M2540dw,,"KX"
ECOSYS M2735dw,,"KX"
ECOSYS M2640idw,,"KX"
TASKalfa 6052ci,,"KX"
TASKalfa 5052ci,,"KX"
TASKalfa 4052ci,,"KX"
TASKalfa 3252ci,,"KX"
TASKalfa 2552ci,,"KX"
CS 6052ci,,"KX"
CS 5052ci,,"KX"
CS 4052ci,,"KX"
CS 3252ci,,"KX"
CS 2552ci,,"KX"
TASKalfa 6002i,,"KX"
TASKalfa 5002i,,"KX"
TASKalfa 4002i,,"KX"
CS 6002i,,"KX"
CS 5002i,,"KX"
CS 4002i,,"KX"

TASKalfa 3511i,,"KX"
TASKalfa 3011i,,"KX"
CS 3511i,,"KX"
CS 3011i,,"KX"

ECOSYS M5521cdn,,"KX"
ECOSYS M5521cdw,,"KX"
ECOSYS M5526cdn,,"KX"
ECOSYS M5526cdw,,"KX"
ECOSYS P5021cdn,,"KX"
ECOSYS P5021cdw,,"KX"
ECOSYS P5026cdn,,"KX"
ECOSYS P5026cdw,,"KX"

TASKalfa 8052ci,,"KX"
TASKalfa 7052ci,,"KX"
TASKalfa 8002i,,"KX"
TASKalfa 7002i,,"KX"
CS 8052ci,,"KX"
CS 7052ci,,"KX"
CS 8002i,,"KX"
CS 7002i,,"KX"

TASKalfa 3552ci,,"KX"
CS 3552ci,,"KX"
ECOSYS M4032idn,,"KX"
ECOSYS M4025idn,,"KX"
ECOSYS P3060dn,,"KX"
ECOSYS P3055dn,,"KX"
ECOSYS P3050dn,,"KX"
ECOSYS P3045dn,,"KX"

ECOSYS M5525cdn,,"KX"
ECOSYS M5520cdw,,"KX"
ECOSYS M5520cdn,,"KX"
ECOSYS P5025cdn,,"KX"
ECOSYS P5020cdw,,"KX"
ECOSYS P5020cdn,,"KX"
ECOSYS P8060cdn,,"KX"
ECOSYS P4045dn,,"KX"
TASKalfa 350ci,,"KX"


[SourcePath]


[TargetPath]
STATUSMON_COPY = <SystemDir>\spool\drivers\w32x86\3
STATUSMON_COPY_DATA = <SystemDir>\spool\drivers\w32x86\3
STATUSMON_DEL = <SystemDir>\spool\drivers\w32x86\3
UNINSTALLER = <ProgramFiles>\Kyocera\Status Monitor 5
KDS_MAIN_COPY = <ProgramFiles>\KDService\bin
KDS_DATA_COPY = <AppData>\KDService
KDS_PNF = <ProgramFiles>\Kyocera

[TargetPath.x64]
STATUSMON_COPY = <SystemDir>\Spool\Drivers\x64\3
STATUSMON_COPY_DATA = <SystemDir>\Spool\Drivers\x64\3
STATUSMON_DEL = <SystemDir>\Spool\Drivers\x64\3

[Install]
CopyFiles = STATUSMON_COPY,STATUSMON_COPY_DATA,UNINSTALLER
AddItemARP = ARP

[Upgrade]
DelItemARP = ARP
CopyFiles = STATUSMON_COPY,STATUSMON_COPY_DATA,UNINSTALLER
AddItemARP = ARP

[Remove]
DelItemARP = ARP
DelFiles = STATUSMON_COPY,UNINSTALLER
CallAPI = STOP_SVC
ExecFiles = SERVICE_RMV1
DelFiles = KDS_MAIN_COPY,KDS_DATA_COPY,KDS_PNF
DelDirs = DEL_KDSERVICE_DIR

[Verify]
VerifyApps = verApp

[verApp]
CompareVersion = VERIFY_FILE,"<MainSource>\KDSSTM.exe","<SystemDir>\spool\drivers\w32x86\3\KDSSTM.exe"

[verApp.x64]
CompareVersion = VERIFY_FILE,"<MainSource>\KDSSTM.exe","<SystemDir>\Spool\Drivers\x64\3\KDSSTM.exe"

[PREREQUISITE]
VerifyPreqs = PrereqSection

[PrereqSection]
Command = CHECK_DOTNET,"%DOTNETFULL%",4.0,full
Link = http://www.microsoft.com/<CultureName>
LinkName = www.microsoft.com

[STATUSMON_COPY_DATA]
kds326110.dat,,kds326110.dat
kds326210.dat,,kds326210.dat
kds326310.dat,,kds326310.dat
kds326610.dat,,kds326610.dat
kds326710.dat,,kds326710.dat
kds326810.dat,,kds326810.dat
kds326910.dat,,kds326910.dat
kds327010.dat,,kds327010.dat
kds327110.dat,,kds327110.dat
kds327210.dat,,kds327210.dat
kds327310.dat,,kds327310.dat
kds327410.dat,,kds327410.dat
kds327510.dat,,kds327510.dat
kds327610.dat,,kds327610.dat
kds327710.dat,,kds327710.dat
kds327810.dat,,kds327810.dat
kds327910.dat,,kds327910.dat
kds328010.dat,,kds328010.dat
kds329410.dat,,kds329410.dat
kds329510.dat,,kds329510.dat
kds329110.dat,,kds329110.dat
kds328710.dat,,kds328710.dat
kds328510.dat,,kds328510.dat
kds328610.dat,,kds328610.dat
kds328410.dat,,kds328410.dat
kds328110.dat,,kds328110.dat
kds328210.dat,,kds328210.dat
kds328310.dat,,kds328310.dat
kds329210.dat,,kds329210.dat
KDS329210.dat,,KDS329210.dat
kds329310.dat,,kds329310.dat
KDS329310.dat,,KDS329310.dat
kds329610.dat,,kds329610.dat
kds329710.dat,,kds329710.dat
KDS333010.dat,,KDS333010.dat
KDS333110.dat,,KDS333110.dat

[STATUSMON_COPY]
KDSSTM.exe,,KDSSTM.exe,COPY_NEW_FILE
KDSSTM.ini,,KDSSTM.ini,COPY_NEW_FILE_CHECK_USING_SYSTEM_SECTION
KDSSTMS.ini,,KDSSTMS.ini,COPY_NEW_FILE_CHECK_USING_SYSTEM_SECTION


;-------------------------------------
; KDService
[KDS_MAIN_COPY]
KDService.exe
Log4net.dll
PasswordEncrypt.dll
WSEventing.dll
[KDS_DATA_COPY]
log4net.xml
[KDS_PNF]
KDService.pnf
[STOP_SVC]
StopService = "KDService"
[SERVICE_RMV1]
InstallCmdHide = "<WindowsDir>\Microsoft.NET\Framework\v4.0.30319\installutil.exe /u /LogFile= &#034;<ProgramFiles>\KDService\bin\KDService.exe&#034;"
[SERVICE_RMV1.x64]
InstallCmdHide = "<WindowsDir>\Microsoft.NET\Framework64\v4.0.30319\installutil.exe /u /LogFile= &#034;<ProgramFiles>\KDService\bin\KDService.exe&#034;"
[DEL_KDSERVICE_DIR]
<ProgramFiles>\KDService\bin
<ProgramFiles>\KDService
;-------------------------------------
[UNINSTALLER]
stmuninst.exe,,uninstall.exe
KmInst32.exe
KmInst64.exe
StmSubDll.dll
Statusmon.pnf
Setup.iniscript

[ARP]
%PRODUCT_GUID%,"KYOCERA Status Monitor 5","<ProgramFiles>\Kyocera\Status Monitor 5\stmuninst.exe",KYOCERA Document Solutions Inc.,"<ProgramFiles>\Kyocera\Status Monitor 5",<ProgramFiles>\Kyocera\Status Monitor 5\stmuninst.exe

[Strings]
LANG = "en"

[Strings.u]
STATUSMON_DESC = "Advanced service for monitoring current printer status"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Uninstall Status Monitor 5"

;eng
[Strings.u.0009]
STATUSMON_DESC = "Advanced service for monitoring current printer status"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Uninstall Status Monitor 5"

;French
[Strings.u.000c]
STATUSMON_DESC = "Service avancé de surveillance de l'état actuel de l'imprimante"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Désinstaller Status Monitor 5"

;German
[Strings.u.0007]
STATUSMON_DESC = "Erweiterten Dienst zur Überwachung des aktuellen Druckerstatus"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Deinstallieren der Status Monitor 5"

;Ital
[Strings.u.0010]
STATUSMON_DESC = "Servizio avanzato per monitoraggio stato stampante corrente"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Disinstalla Status Monitor 5"

;Japan
[Strings.u.0011]
STATUSMON_DESC = "プリンターの現在のステータスをモニターできる拡張機能サービス"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Status Monitor 5 のアンインストール"

;Korean
[Strings.u.0012]
STATUSMON_DESC = "현재 프린터 상태를 모니터링하기 위한 에 대한 고급 서비스"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Status Monitor 5 제거"

;PortugueBrazil
[Strings.u.0016]
STATUSMON_DESC = "Serviço avançado para monitoramento do status atual da impressora"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Desinstalar Status Monitor 5"

;Spanish
[Strings.u.000a]
STATUSMON_DESC = "Servicio avanzado para monitorear el estado de la impresora actual"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Desinstalar Status Monitor 5"

;Czech
[Strings.u.0005]
STATUSMON_DESC = "Rozšířené služba pro sledování aktuálního stavu tiskárny"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Odinstalovat Status Monitor 5"

;Russian
[Strings.u.0019]
STATUSMON_DESC = "Передовую службу мониторинга текущего состояния принтера"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Удалить Status Monitor 5"

;Dutch
[Strings.u.0013]
STATUSMON_DESC = "Geavanceerde service voor het controleren van de huidige printerstatus"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Status Monitor 5 verwijderen"

;Polish
[Strings.u.0015]
STATUSMON_DESC = "Zaawansowane usługi monitorowania bieżącego statusu drukarki"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Odinstaluj Status Monitor 5"

;Schinese
[Strings.u.00c0]
STATUSMON_DESC = "监控打印机当前状态的高级服务"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "卸载 Status Monitor 5"

;Tchinese
[Strings.u.00c1]
STATUSMON_DESC = "監視印表機目前狀態的高級服務"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "解除安裝 Status Monitor 5"

;Swedish
[Strings.u.001d]
STATUSMON_DESC = "Avancerad tjänst för övervakning av aktuell skrivarstatus"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Avinstallera Status Monitor 5"

;Norwegian
[Strings.u.0014]
STATUSMON_DESC = "Avansert service for overvåking av aktuell skriverstatus"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Avinstaller Status Monitor 5"

;Hungarian
[Strings.u.000e]
STATUSMON_DESC = "A nyomtató aktuális állapotát ellenőrző speciális szolgáltatás"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Status Monitor 5 eltávolítása"

;Finnish
[Strings.u.000b]
STATUSMON_DESC = "Nykyisen tulostintilan valvomiseen tarkoitettu kehittynyt palvelu"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Poista Status Monitor 5 asennus"

;Greek
[Strings.u.0008]
STATUSMON_DESC = "Υπηρεσία παρακολούθησης της τρέχουσας κατάστασης του εκτυπωτή"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Απεγκατάσταση του Status Monitor 5"

;Turkish
[Strings.u.001f]
STATUSMON_DESC = "Geçerli yazıcı durumunu izlemeye yönelik gelişmiş servis"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Status Monitor 5 Kaldır"

;Danish
[Strings.u.0006]
STATUSMON_DESC = "Avanceret Service til overvågning af aktuel printerstatus"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Afinstaller Status Monitor 5"

;Portuguese (Portugal)
[Strings.u.0816]
STATUSMON_DESC = "Serviço avançado de monitorização do estado atual da impressora"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Desinstalar Status Monitor 5"

;Hebrew
[Strings.u.000d]
STATUSMON_DESC = "שירות מתקדם המיועד לניטור המצב הנוכחי של המדפסת"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Status Monitor 5 הסר את התקנת"

;Romanian
[Strings.u.0018]
STATUSMON_DESC = "Funcție de avansat de monitorizare a stării actuale a imprimantei"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Dezinstalare Status Monitor 5"

;Arabic
[Strings.u.0001]
STATUSMON_DESC = "خدمة متقدمة لرصد حالة الطابعة الحالية"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Status Monitor 5 ‏‏إزالة تثبيت"

;Catalan
[Strings.u.0003]
STATUSMON_DESC = "Servei avançat per controlar l'estat actual de la impressora"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Desinstal·la Status Monitor 5"

;Vietnamese
[Strings.u.002a]
STATUSMON_DESC = "Dịch vụ tiên tiến để điều khiển trạng thái máy in hiện tại"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "Dỡ cài đặt Status Monitor 5"

;Thai
[Strings.u.001e]
STATUSMON_DESC = "บริการขั้นสูงสำหรับตรวจสอบสถานะเครื่องพิมพ์ในปัจจุบัน"
DOTNETFULL = "Microsoft .NET Framework 4.0"
PRODUCT_GUID = {24EE7F6D-C648-463f-9E71-DC5FD2258D17}
UNINS_STM = "ถอนการติดตั้ง  Status Monitor 5"
