
ServiceInstaller.InstallAndStart("KrSVC", "Krio service", "C:\Program Files (x86)\Kerio\VPN Client\kvpncsvc.exe") Use from this commend : ServiceInstaller.InstallAndStart("Service Name", "Service Display Name", "Service File Path") The m odule was expected to contain an assemblyĪnd also if install service with ServiceTools.dll

'file:///C:\Prog ram Files (x86)\Kerio\VPN Client\kvpncsvc.exe' or one System.BadImageFormatException: Could not load file or assembly "C:\Program Files (x86)\Kerio\VPN Client\kvpncsvc.exe"Įxception occurred while initializing the installation: "C:\Windows\Microsoft.NET\Framework64\v4.0.303\InstallUtil.exe"

When i use from InstallUtil.exe : (32bit and 64bit / with. I'm try to install service from C# and using ServiceTools.dll ( Source - Dll - Refer) and also using from InstallUtil.exe but service is not installed or don't start after install !
