View Single Post
Old 22nd July 2008, 21:01   #42
Speed78
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 109
Hello Till,

please try this script:

----------------------
Name "test"
OutFile "test.exe"

!Define SERVICE "TapiSrv"

Section
MessageBox MB_OK "NOTE: Result '0' means it was success otherwise '1'"

MessageBox MB_OK "Starting Service: ${SERVICE}"
SimpleSC::StartService "${SERVICE}" ""
Pop $0
MessageBox MB_OK "Result: $0"

SectionEnd
----------------------

This script will start the tapi service (In german: "Telefonie"... I don´t know the name in english )

I tested this script without any problems. If you also have no problems with this script I think the problem is your service. Can you check this and please give me a feedback!?

Best regards

Rainer
Speed78 is offline   Reply With Quote