Document the "myapp.exe install /p" call

pull/129/head
Oleg Nenashev 2016-11-26 01:10:12 +03:00
parent f8a6b32f82
commit 4ec9984c1f
1 changed files with 4 additions and 1 deletions

View File

@ -45,13 +45,16 @@ The full specification of the configuration file is available [here](xmlConfigFi
You can then install the service like: You can then install the service like:
``` ```
jenkins.exe install <OPTIONS> myapp.exe install <OPTIONS>
``` ```
... and you can use the exit code from these processes to determine whether the operation was successful. ... and you can use the exit code from these processes to determine whether the operation was successful.
Possible return error codes are described [here](http://msdn.microsoft.com/en-us/library/aa389390%28VS.85%29.aspx). Possible return error codes are described [here](http://msdn.microsoft.com/en-us/library/aa389390%28VS.85%29.aspx).
Beyond these error codes, all the non-zero exit code should be assumed as a failure. Beyond these error codes, all the non-zero exit code should be assumed as a failure.
The Installer can be also started with the `/p` option.
In such case it will prompt for an account name and password, which should be used as a service account.
#### Step 5. Windows Service Manager #### Step 5. Windows Service Manager
Once the service is installed, you can start it from Windows Service Manager. Once the service is installed, you can start it from Windows Service Manager.