Launch application as a Windows service
Building requires Visual Studio Express and Boost 1.60
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
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