Declaration
public void Install(
string user,
string password,
string exeArgs
)Summary
Installs all services in this process (i.e. registers them with the service manager). All services are initially stopped.
Parameters
| string | user | Computer account to use for this service process. This user must have the "Log on as a service" permission (though the call succeeds regardless). |
| string | password | Account password for the specified user. Note that its validity is not verified. |
| string | exeArgs | Optional arguments to be used when started by the service manager. May be null. See Remarks on SelfServiceProcess. |