PDA

View Full Version : Running InstallScript setup.exe from DVD



jewels
10-02-2012, 11:38 AM
I have a wrapper program for a series of InstallShield setup.exes that I launch. The way it works is that a setup.exe install is launched, the user steps through the GUI to install, and before going to the next step (install) there is code that verifies that the install was was completed by checking the registry. This all works fine from disk (hard drive). But from DVD it seems that the Installscript setup.exe returns immediately even though I have not stepped through the GUI installer and exited the setup.exe. This causes my wrapper program to proceed to the install verification too soon, and it flags an error.

I need the setup.exe to NOT return immediately when run from DVD. I have tried placing in a batch file with a call command, and that did not change the behavior. Is there some way with InstallScript to prevent the instant return of the setup.exe when run from DVD?

RobertDickau
10-02-2012, 11:46 AM
Depending on the InstallShield version used to create the InstallScript installers, you might try passing the /clone_wait (past few versions) or /SMS (only with pretty old versions) switch to setup.exe. The "Setup.exe and Update.exe Command-Line Parameters" help topic has more information.

jewels
10-02-2012, 01:29 PM
Thanks Robert! The /clone_wait option worked. Thanks!!