
[Version]
Provider   = Kyocera
Version  = 05/23/2017,1.1.5323

[Information]
PackageKey = KDSERVICE
PackageType = APP
Category = UTILITY
Name = "KDService"
Description = "Service for Status Monitor"
Location = 
MinOSVersion = 5.0
MaxOSVersion = 10.0
Connection = 
Attribute = HIDE
Required = 
Handler = DriverDll.dll

[SourcePath]

[TargetPath]
KDS_MAIN_COPY = <ProgramFiles>\KDService\bin
KDS_DATA_COPY = <AppData>\KDService

[Install]
CallAPI = STOP_SVC
CopyFiles = KDS_MAIN_COPY,KDS_DATA_COPY
AddRegs = REG1
ExecFiles = SERVICE1
CallAPI = START_SVC
ExecFiles = AppInstall

[Upgrade]
CallAPI = STOP_SVC
CopyFiles = KDS_MAIN_COPY,KDS_DATA_COPY
CallAPI = START_SVC

[Remove]
CallAPI = STOP_SVC
ExecFiles = SERVICE_RMV1
DelFiles = KDS_MAIN_COPY,KDS_DATA_COPY
DelDirs = DEL_DIR

[Verify]
VerifyApps = verApp

[verApp]
CompareVersion = VERIFY_FILE,"<MainSource>\KDService.exe","<ProgramFiles>\KDService\bin\KDService.exe"

[KDS_MAIN_COPY]
KDService.exe
Log4net.dll
PasswordEncrypt.dll
WSEventing.dll

[KDS_DATA_COPY]
log4net.xml

[DEL_DIR]
<ProgramFiles>\KDService\bin
<ProgramFiles>\KDService

[AppInstall]
InstallCmdHide = "SC SDSET KDSERVICE D:(A;;CCLC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)"

[REG1]
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\<PrinterName>\PrinterDriverData","KDSStatusMonitor",0,"KDSSTM.exe"

[SERVICE1]
InstallCmdHide = "<WindowsDir>\Microsoft.NET\Framework\v4.0.30319\installutil.exe /LogFile= &#034;<ProgramFiles>\KDService\bin\KDService.exe&#034;"

[SERVICE1.x64]
InstallCmdHide = "<WindowsDir>\Microsoft.NET\Framework64\v4.0.30319\installutil.exe /LogFile= &#034;<ProgramFiles>\KDService\bin\KDService.exe&#034;"

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

[START_SVC]
StartService = "KDService"
FirewallAddPort = "PORT","UDP","KDSERVICE 3702",3702
FirewallAddPort = "PORT","TCP","KDSERVICE 9244",9244
FirewallAddPort = "PORT","TCP","KDSERVICE 9444",9444
FirewallAddPort = "PORT","TCP","KDSERVICE 9245",9245
FirewallAddPort = "PORT","TCP","KDSERVICE 9246",9246
FirewallAddPort = "PORT","TCP","KDSERVICE 9247",9247

[STOP_SVC]
StopService = "KDService"

[Strings]
LANG = "en"

[Strings.u]

;eng
[Strings.u.0009]


