Contents
English (United Kingdom)French (Fr)Deutsch (DE-CH-AT)
Search
Login
Who Is Online?
We have 88 guests online
Navigation
Home Free Software Command line utilities ServiceExe - Install and run applications as Windows services - The configuration file
Most Recent
Featured Articles
Joomla 1.5 Featured Articles
Navigation
Home Free Software Command line utilities ServiceExe - Install and run applications as Windows services - The configuration file
English (United Kingdom)French (Fr)Deutsch (DE-CH-AT)
ServiceExe - Install and run applications as Windows services - The configuration file E-mail
User Rating: / 42
PoorBest 
Free Software - Command line utilities
Written by Thomas   
Thursday, 05 February 2009 17:22
Article Index
ServiceExe - Install and run applications as Windows services
License
Installation
The configuration file
Example configuration file
Configuration: The [General] section
Configuration: Process task sections
Embedded environment variables
Command line parameters
User credentials
Process logging
Common pitfalls
All Pages

 

Configuration files for ServiceExe are standard Windows configuration files (ini files). They consist of a [General] section and an additional section for each process/application to run.

MyService.ini:

[General]
ServiceDisplayName=My own service
ServiceDescription=This is my own service
StartUpPause=1
CreateProcessPause=1
LogPath=Logs
ServiceProcesses=App1

[App1]
ApplicationName=MyApplication.exe
CommandLine=
CurrentDirectory=

The ini file's name without file name extension declares the name of the Windows service. The Windows Services Panel shows it as 'Service Name' on the properties page and is identical to the parameter lpServiceName of CreateService ().

 

Download ServiceExe.zip (0.11 MiB = 108.4 KiB = 111,041 bytes)

 



Last Updated on Thursday, 05 July 2012 13:25
 
You need to login or register to post comments.
Discuss this item on the forums. (0 posts)
Discuss (0 posts)