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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top