Skip to content
⌘ NSIS Forum Archive

execwait trouble

3 posts

mancini#

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 ?
kichik#
It should be:

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