Skip to content
⌘ NSIS Forum Archive

Start a Windows Service

6 posts

Guest#

Start a Windows Service

Can I start a service after the application is successfully installed, if yes can you please give any examples.

Some more details:

I'm installing MSDE 2000A (Microsoft SQL Server Desktop Edition), and after the installation is finished I need to start the service before I can execute sql statements in OSQL utility. So my question is how can I start the MSSQL$INSTANCENAME service.

Thanks in advance.
Guest#
ExecWait '"net start MSSQL$$INSTANCENAME"' is not working for me.

Its executing
"net start MSSQL$INSTANCENAME"

instead of
"net start MSSQL$FOO"

If "FOO" is the value for $INSTANCENAME

Niben