Archive: Installing Apache 2 service SimpleSC


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


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