mgzuck
6th June 2002 20:33 UTC
Holding onto the command prompt
I have an exe made with NSIS.
It is called as part of a larger install process from a batch file.
The steps after the nsis exe is called rely on it running to completion first, howver, the nsis file does not hold onto the command console, so the next step starts right away, instead of waiting. Is there any way around this?
Smile2Me
6th June 2002 20:38 UTC
Maybe there are batch commands to execute a file and wait for it to return (like ExecWait in NSIS), but I do not know this.
The solution I would suggest is that you convert the batch file into NSIS script. NSIS can do most of the things and more (and has a nice GUI instead of a command window). Do this by creating a script for the batch file and call the other NSIS script using ExecWait of just build one big installer.
But as I said, maybe there's a command like ExecWait...
Good luck,
-Hendri.
eccles
6th June 2002 23:38 UTC
"start /wait ..." is available in batch files on NT/2000/XP, but I don't know about 9x/ME.
HTH,
Dave.