A new Flexera Community experience is coming on November 25th, click here for more information.
‎Feb 19, 2007 05:55 AM
‎Feb 19, 2007 07:51 AM
soorajganga wrote:
You may try setting the sequence after installFinalize...
‎Feb 19, 2007 08:59 AM
‎Feb 20, 2007 07:02 AM
manumanimala wrote:
I think you can call the custom action from the Setup Complete Success dialog's Finish click event. In that button press, you can call the custom action and check the condition "(ProgressType2="installed" And ((ACTION<>"INSTALL") OR (NOT ISENABLEDWUSFINISHDIALOG) OR (ISENABLEDWUSFINISHDIALOG And Installed))).
Try this one 😉
‎Feb 27, 2007 08:25 AM
‎Feb 27, 2007 08:48 AM
David Thornley wrote:
Hi,
It sounds like the EXE that you are calling is actually launching another MSI installation. MSI will not allow an installation to start while another is running in its execute sequence. So the issue may be a race condition, where the child EXE is attempting to run an MSI package before the original setup has had a chance to terminate completely.
To test that your Custom Action is configured properly, you may want to consider configuring it to run a simple program like Notepad. If that runs, and the parent MSI process terminates, then the problem is probably as I've described above. The solution to that scenario would require writing some stub code in an exe that will wait for the parent MSI process to end properly before even considering starting the second installation. I unfortunately don't have a sample, but possibly someone on this community who has solved this same problem does...and is willing to share. 🙂
On a side note, if the child installation is one that you have to *always* install, you may want to consider using the setup-prerequisite feature in the InstallShield Editor. The limitation of this feature is that you can't conditionalize the child installation based on some selection in the parent installation because setup prerequisites are installed before the main install is executed.
Regards
David Thornley
‎Feb 28, 2007 08:01 AM