how to start service after installation is complete

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

Guest

I am installing MSDE 2000 redistributable as a part of my setup program using Visual Studio Setup & Deployment Project. But I need to start the mssqlserver service manually by going into the control panel, which needs manual intervention. I want to know if this task can be automated. I want the setup program to start the mssqlserver service at the end of installation.

Can anybody please help me with this
Thanks
-Kaushik.
 
Kaushik,
This article from gotdotnet has all the instructions you need:

http://www.gotdotnet.com/Community/...mpleGuid=8EB91573-C520-4143-9323-77904FE02CAF

Essentially you will be calling "Net Start etc." from the command line out
of your project.
--Peter

Kaushik said:
I am installing MSDE 2000 redistributable as a part of my setup program
using Visual Studio Setup & Deployment Project. But I need to start the
mssqlserver service manually by going into the control panel, which needs
manual intervention. I want to know if this task can be automated. I want
the setup program to start the mssqlserver service at the end of
installation.
 
Back
Top