
[Version]
Provider   = Kyocera
Version  = 09/22/2015,1.0.3308

[Information]
PackageKey = KDSERVICE
PackageType = APP
Category = UTILITY
Name = "KDService"
Description = "Service for Status Monitor"
Location = 
MinOSVersion = 5.0
MaxOSVersion = 10.0
Connection = 
Attribute = HIDE,SKIPIFINSTALLED
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

[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

[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","3702",3702
FirewallAddPort = "PORT","TCP","9244",9244

[STOP_SVC]
StopService = "KDService"

[Strings]
LANG = "en"

[Strings.u]

;eng
[Strings.u.0009]


