Skip to content

agiovacchini/Service

Repository files navigation

Service

Launch application as a Windows service

Building

Building requires Visual Studio Express and Boost 1.60

Using

Configuration

Create a INI file called like the executable and located in the same folder with a structure like this:

[Service]
Name=Service

[LineToLaunch]
Executable=c:\Service\Service.exe
Options=-classpath "c:\Service\*" it.TestClass 
Path=c:\Service

Service installation

Launch service.exe with this parameters:

Service.exe install execution_path ini_file_name
ex: Service.exe install c:\Service Service.ini

Ini file must be inside execution_path

About

Launch application as a Windows service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published