Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 19th October 2010, 16:27   #1
hawkmaster
Junior Member
 
Join Date: Aug 2005
Posts: 36
Installing Apache 2 service SimpleSC

Hello,
I tried to install the Apache 2.2 service with the SimpleSC plugin.

SimpleSC::InstallService "Apache2.2" "Apache2.2" "16" "2" '"$INSTDIR\apache\bin\httpd.exe"' "" "" ""
Pop $0
SimpleSC::SetServiceDescription "Apache2.2" "Apache 2.2.14 (Community Server) mit PBXT engine 1.0.09-rc for Qoodary8"
Pop $0
SimpleSC::StartService "Apache2.2" ""
Pop $0

The service is installed and the httpd.exe is started. But if I go to the control panel and look into the service the service is not started, only the exe. If I try to start the service I have the error 1053.

If I try to install the service with ExecWait it runs fine.

ExecWait "$INSTDIR\apache\bin\httpd.exe -k install"
ExecWait "NET START Apache2.2"

Any idea how it works with the SimpleSC ?

thanks a lot
regards
hawk
hawkmaster is offline   Reply With Quote
Old 19th October 2010, 16:39   #2
nsnb
Senior Member
 
Join Date: Jul 2008
Posts: 157
Arrow

Perhaps the difference between running under local system account and an Administrator account?

There's a lot of information about your system and current configuration we could use to troubleshoot the problem (e.g. Windows version) so for now I can only provide a link to Microsoft's article on this 1053 error: http://support.microsoft.com/kb/886695
nsnb is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump