| Contents |
|---|
| Search |
|---|
| Login |
|---|
| Navigation |
|---|
| Most Recent |
|---|
| Featured Articles |
|---|
| Navigation |
|---|
| Who Is Online? |
|---|
| We have 35 guests online |
| ServiceExe - Install and run applications as Windows services - Command line parameters |
|
| Free Software - Command line utilities | |||
| Written by Thomas | |||
| Thursday, 05 February 2009 17:22 | |||
|
Page 9 of 12
ServiceExe provides the following command line parameters:
All command line parameters are case-sensitive, for instance '-Install' or '-INSTALL' will *not* work. See 'Example configuration file' for an example on how to use the command line parameters. inifile This is a placeholder for a configuration file. The file name must be provided including the file name extension. See 'Example configuration file' for an example on how to provide a configuration file parameter. -install Installs (registers) the applcation as a Windows service. After a successful installation the service is visible in the Windows Services Panel and can be started, stopped, etc, for there. If no user credentials are provided (/U: and /P: parameters) the service is installed to run with the credentials of the LocalSystem account. If credentials are provided the service is installed to work with these credentials. If the user specified with the /U: parameter doesn't have the right to log on as a Windows service yet this right is automatically given to him during the installation process. See 'User credentials' for some common pitfalls. - remove Uninstalls (unregisters) the application as a Windows service. If the service has been running (started) it is stopped first. On Windows 2000 it is recommended that the Services Panel is not open when the service is removed. Windows 2000 has a bug that sometimes prevents the service from being removed without a system restart. This seems to have been fixed on newer versions of Windows like Windows XP and the 2003 series of servers. - console - debug Runs the application in a test mode which allows to check that the configuration and file system structure has been set up correctly. It is recommended to use this option for some time before finally installing the service with -install. The parameters -console and -debug ignore any user credentials provided with /U: and /P:. The application always runs under the account of the current user. See 'User credentials' for some common pitfalls. The application is started immediately even without the /S parameter. Since no service is installed the /A parameter is ignored too. /A Marks the service as 'Automatic'. This ensures that the system attempts to start the service automatically after a system reboot. /S Attempts to start the service immediately after installation.
Download ServiceExe.zip (0.10 MiB = 105.8 KiB = 108,365 bytes)
|
|||
| Last Updated on Thursday, 15 October 2009 15:07 |
You need to login or register to post comments.
Discuss this item on the forums. (0 posts)
Discuss (0 posts)



