Run Program not properly waiting for command to finish
Posted: Fri Jan 30, 2009 9:34 am
Hello,
I'm having a problem with the Run Program command. I use it to execute another installer that needs to run silently after my product has been installed. I set the Run Program command to "wait for program to finish".
This used to work, and my msiscript would pause until the other installer completed, but it does not wait anymore, and I can't figure out why.
The other installer is build with Installshield. I have read in another forum post here that those installers return before the installation is finished. Again though, this used to work, and has now stopped.
Worse, if I copy/paste the line to execute the installer right to the very top of my script and place a Messagebox command after it, it will always wait for the second installer to finish before displaying the messagebox, but the original line further down the script (after my Apply Changes command to install my application) will not wait.
What could be going on here?
Any help would be appreciated.
I'm having a problem with the Run Program command. I use it to execute another installer that needs to run silently after my product has been installed. I set the Run Program command to "wait for program to finish".
This used to work, and my msiscript would pause until the other installer completed, but it does not wait anymore, and I can't figure out why.
The other installer is build with Installshield. I have read in another forum post here that those installers return before the installation is finished. Again though, this used to work, and has now stopped.
Worse, if I copy/paste the line to execute the installer right to the very top of my script and place a Messagebox command after it, it will always wait for the second installer to finish before displaying the messagebox, but the original line further down the script (after my Apply Changes command to install my application) will not wait.
What could be going on here?
Any help would be appreciated.