Description |
Installs the specified service into the SCM (Service Control Manager) so that it can be started and stopped. Administrator privileges are usually required to perform this action. Services do not run on Windows 95/98/ME. |
Declaration |
<AMSERVICEINSTALL EXECUTABLE="text" DISPLAYNAME="text" USERNAME="text" PASSWORD="text" ERROR="text [options]" SERVICETYPE="text [options]" RUNTYPE="text [options]" INTERACTIVE="yes/no"> |
Example |
<AMSERVICEINSTALL EXECUTABLE="c:\foldername\myservice" DISPLAYNAME="My Custom Service App" USERNAME="MyUserName" PASSWORD=""> |
General Tab Parameters |
Executable: Specifies the service to resume. Text, Required Display name: Specifies the name of the service as it should appear in the list of services. Text, Required Username: Specifies the username that service should use to log on. The Service automatically inherits the rights of the user specified in this field. Text, Optional - None Password: Specifies the password corresponding to the username. Text, Optional - None Error severity: If the service generates an error, specifies how the error should be written to the system event log.
Text [options], Optional Service type: If the service generates an error, specifies how the error should be written to the system event log.
Text [options], Optional Run type: If the service generates an error, specifies how the error should be written to the system event log.
Text [options], Optional Interactive service: Specifies that the service should be able to interact with the desktop. Text [options], Optional Default - NO |
See Also |
Start Service. Stop Service, Pause Service, Resume Service, Remove Service |