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
- :
- Determining if an Installation has been aborted.
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
‎Mar 16, 2011
12:05 PM
Determining if an Installation has been aborted.
I have a master installation (Installscript Type) that I am working on that calls several other sub installations (InstallScript MSI Type) using the launchappandwait function. If one of them fails, or is aborted, the master installer continues to call the other sub installations making it difficult to abort the installation as a whole. Is there a way to determin if an installation that is called with LaunchAppAndWait has failed or been aborted, so that I can abort the master script as well. It appears that the return from the LaunchAppAndWait just returns if the application was launched sucessfully, but does not give any indication if the process completed properly.
Thanks
Robert McMahan
Thanks
Robert McMahan
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 16, 2011
12:45 PM
I think LaunchApplication will be more helpful as you have greater control on different parameters.
Check this:
To obtain identification information about the launched process, use the LAAW_PROCESS_INFORMATION system variable or the LAAW_SHELLEXECUTEINFO system variable (if you are using LAAW_OPTION_USE_SHELLEXECUTE).
Check this:
To obtain identification information about the launched process, use the LAAW_PROCESS_INFORMATION system variable or the LAAW_SHELLEXECUTEINFO system variable (if you are using LAAW_OPTION_USE_SHELLEXECUTE).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 17, 2011
10:25 AM
I'd look at LAAW_PARAMETERS.nLaunchResult; however you may also be able to tell by looking for some registry key (perhaps their Uninstall key) that a successful installation would place on the machine.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)