How to start service immediately after installation

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

Guest

Hello,

I have created a windows service that performs some automatic
backups. It works, and it is set to start automatically.

However, it is not started directly after the installation procedure.
Which leaves the user to either restart the computer or start it
manually.

How can I tell the setup program (I am using VS2003 web setup
project) to start the service once it has been installed?

Regards,
Robert
 
Just have it run a .VBS script that starts your service like it would
any other Windows service.

You can even use a batch line command, NET START SERVICE.
 
Back
Top