Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
#48645: Change installer default account from LocalService to LocalSy…
Browse files Browse the repository at this point in the history
…stem. Start the service after successful installation.
  • Loading branch information
edchapel committed Sep 1, 2013
1 parent f303119 commit fa1a85a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public InstallController(string serviceName, bool isProcessElevated)
public void Install()
{
Install(true);
StartService();
}

public void Uninstall()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ public sealed class ServiceProcessInstaller : System.ServiceProcess.ServiceProce
{
public ServiceProcessInstaller()
{
//Installs using local Service, this will need to be updated with the proper credentials after install
Account = ServiceAccount.LocalService;
//Installs using Local System. This may need to be updated with the proper credentials after install.
Account = ServiceAccount.LocalSystem;
}
}
}

0 comments on commit fa1a85a

Please sign in to comment.