Get Return Value of vb-script
Hello,
I wrote an vbs file that contains something like that:
if (statement)
Wscript.quit(1) /*error*
else
Wscript.quit(0) /*no error*
Now I want to run the script with Nsis:
ExecShell "open" "test.vbs"
The script is running and when I put a MsgBox before the quits I can see the script itself is running well, but the return value NSIS gets is always 0, though it should be 1 sometimes too.
Is there a way to let my script return an error for NSIS?