Archive: execwait trouble


execwait trouble
is this a good format for execwait parameters ?

ExecWait '"net stop" Apache2'
because it does not stop the service like it should

if i write : net stop apache2
in the winnt shell the service takes abour 15 seconds to close

so i even put : Sleep 15000
after the execwait command but still the installer does not close the service

any ideeas ?

It should be:

ExecWait "net stop Apache2"
"net stop" is not one name. "stop" is a parameter for "net".

thiking about it i have come to the same conclusion
thanks for clearing it up