
[Version]
Provider   = Kyocera
Version  = 04/08/2016,5.0.52.4

[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"

[SourcePath]


[TargetPath]
STATUSMON_COPY = <SystemDir>\spool\drivers\w32x86\3
STATUSMON_SELECTED = <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_DEL = <SystemDir>\Spool\Drivers\x64\3
STATUSMON_SELECTED = <SystemDir>\Spool\Drivers\x64\3

[Install]
CopyFiles = STATUSMON_COPY,UNINSTALLER
AddLinks = LINK1
AddItemARP = ARP

[Upgrade]
DelItemARP = ARP
DelLinks = LINK1
CopyFiles = STATUSMON_COPY,UNINSTALLER
AddLinks = LINK1
AddItemARP = ARP

[Remove]
DelItemARP = ARP
DelLinks = LINK1
DelFiles = STATUSMON_SELECTED,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]
kds328710.dat,,kds328710.dat
kds328510.dat,,kds328510.dat
kds328610.dat,,kds328610.dat
kds328410.dat,,kds328410.dat
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

[STATUSMON_SELECTED]
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

[LINK1]
;"Uninstall Status Monitor 5" = "<ProgramFiles>\Kyocera\Status Monitor 5\stmuninst.exe","<MainLink>","<ProgramFiles>\Kyocera\Status Monitor 5\stmuninst.exe",%STATUSMON_DESC%
[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}

;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}

;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}

;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}

;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}

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

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

;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}

;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}

;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}

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

;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}

;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}

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

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

;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}

;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}

;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}

;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}

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

;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}

;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}

;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}

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

;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}

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

;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}

;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}

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