Make a silent installer wait when called from a batch file
I created an NSIS installer that works great (Thank goodness for NSIS)! I would like to be able to run my installer from a Windows batch file with the silent option (/S) and have the batch file wait until the installer completes before proceeding on. My problem is that when I call the installer with the silent option (/S) it appears to go off on a separate thread and the batch file keeps on chugging.
Is there any easy way to fix this? Do I need to wrap one NSIS installer with another? I read quite a few threads on the use of execWait with a _? parameter as related to running uninstallers. Is that a or the solution.
Any guidance would be greatly appreciated. Thank you.