PDA

View Full Version : Chaining Installscript setup.exe with Batch



turbokitty
07-20-2006, 12:51 PM
I want to chain some installscript (non-msi) setup.exe's in a batch file, but they seem to want to run concurrently.. they second one isn't waiting for the first one to finish.

Is there a way to make this happen?

Thanks.

Christopher Painter
07-20-2006, 02:24 PM
The command line switches have changed a little over the years, but basically you want to make sure the setup.exe runs sync not async. Some of the examples also show using the start /WAIT command like:

http://helpnet.installshield.com/Robo/BIN/Robo.dll?mgr=agm&tpc=%2Frobo%2Fprojects%2Fhelplib%2FIHelpSetup_EXECmdLine.htm&wnd=InstallShieldLivingHelp%7CMain&agt=wsm&ctxid=kb%2Fview.asp

start /WAIT setup.exe /w

There are so many variations on a theme you almost just want to try it and see what works.

turbokitty
07-20-2006, 06:28 PM
Sweet.. thanks!