Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Start a Windows Service (http://forums.winamp.com/showthread.php?t=198977)

bgosalci 11th November 2004 13:44

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.

bgosalci 11th November 2004 16:10

Ok, i have decided to use the commandline command "net start MSSQL$INSTANCENAME".

kichik 11th November 2004 18:41

How do I start/stop/create/remove/check a service?

nibensingh 1st February 2005 16:48

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

kichik 1st February 2005 17:59

StrCpy $0 $$
ExecWait '"net start MSSQL$0$INSTANCENAME"'

nibensingh 2nd February 2005 18:06

what a hack! thanks much!!


All times are GMT. The time now is 05:18.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.