![]() |
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. |
Ok, i have decided to use the commandline command "net start MSSQL$INSTANCENAME".
|
|
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 |
StrCpy $0 $$
ExecWait '"net start MSSQL$0$INSTANCENAME"' |
what a hack! thanks much!!
|
| All times are GMT. The time now is 05:18. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.