Starting Windows Service After Setup

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a .Net setup project that installs a windows service. But I cant figure out how to start the service without going into Control Panel->Administrative Tools->Services. How can I get the setup program to start the service?
 
In the Win Service Setup project, you can set ServiceInstaller
class(component)'s StartType property to "Automatic";
If you do not want to rebuid the Setup project, you can configure it to auto
start through Control Panel->Admin. Tools->Services:

Right click the service name, instead of clicking "Start" on context menu,
clicking "Properties", then in "Start Type" dropdown list, select
"Automatic".

Jeff M said:
I have a .Net setup project that installs a windows service. But I cant
figure out how to start the service without going into Control
Panel->Administrative Tools->Services. How can I get the setup program to
start the service?
 
Back
Top