This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: LaunchAppAndWait And Child Installations
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 05, 2008
08:02 AM
LaunchAppAndWait And Child Installations
Hey,
I'm trying to install Matrox Imaging software as part of my installation.
The problem is, the Matrox setup after a few stages starts a child setup and terminates itself.
I'm trying to make my main setup wait until both the Matrox and its child setups to finish but with no luck.
I've tried:
LaunchAppAndWait(exePath,"",0);
WaitForApplication( LAAW_PROCESS_INFORMATION.hProcess, 0, INFINITE, LAAW_OPTION_WAIT_INCL_CHILD | LAAW_OPTION_WAIT );
And:
LaunchAppAndWait(exePath,"",LAAW_OPTION_WAIT_INCL_CHILD);
And:
LaunchAppAndWait(exePath,"",LAAW_OPTION_WAIT_INCL_CHILD|LAAW_OPTION_WAIT );
But with no luck.
Any ideas?
Thanks ahead!
--sternr
I'm trying to install Matrox Imaging software as part of my installation.
The problem is, the Matrox setup after a few stages starts a child setup and terminates itself.
I'm trying to make my main setup wait until both the Matrox and its child setups to finish but with no luck.
I've tried:
LaunchAppAndWait(exePath,"",0);
WaitForApplication( LAAW_PROCESS_INFORMATION.hProcess, 0, INFINITE, LAAW_OPTION_WAIT_INCL_CHILD | LAAW_OPTION_WAIT );
And:
LaunchAppAndWait(exePath,"",LAAW_OPTION_WAIT_INCL_CHILD);
And:
LaunchAppAndWait(exePath,"",LAAW_OPTION_WAIT_INCL_CHILD|LAAW_OPTION_WAIT );
But with no luck.
Any ideas?
Thanks ahead!
--sternr
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 05, 2008
09:00 AM
It probably depends on what that earlier installer was built with; different InstallShield versions through the ages have used /SMS or /w to indicate that setup.exe should wait for the whole installer to finish before exiting, for example.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 05, 2008
09:10 AM
Thanks for you relpy!
I dont have control over the Matrox (and its child - ) installations...
Did you mean I need to add this parameters to the LaunchAndWait method as a cmdArgs?
Another question: one of the problems that occure because of this behaviour,
Is, that the child matrox installation gives me the following exception:
"Windows Cannot find C:\Program files\Installshield installation information\' ..."
Any idea???
Thanks for any help
--sternr
I dont have control over the Matrox (and its child - ) installations...
Did you mean I need to add this parameters to the LaunchAndWait method as a cmdArgs?
Another question: one of the problems that occure because of this behaviour,
Is, that the child matrox installation gives me the following exception:
"Windows Cannot find C:\Program files\Installshield installation information\
Any idea???
Thanks for any help
--sternr
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 27, 2008
05:51 AM
Have you solve the problem? Could you please say how to wait until both of the installations are finished? I mean child installation of your installation and its child installation 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 29, 2008
08:39 PM
Has anyone come up with a solution to this or is this yet another defect in the InstallShield engine?
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)