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
- :
- Gracefully abort?
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
May 18, 2009
01:47 PM
Gracefully abort?
I've found similar questions, but no satisfactory answers, so i'll make the question as direct as possible.
Project Type: Basic MSI
In an IScript CA which runs in Deferred Execution, I need to be able to cancel the installation and trigger a rollback without "Add/Remove Programs" barfing up a "Fatal error during installation" message box.
Note: This only seems to happen when the maintenance install is launched from Add/remove programs. re-launching from the setup.exe doesn't produce the undesired messagebox.
Project Type: Basic MSI
In an IScript CA which runs in Deferred Execution, I need to be able to cancel the installation and trigger a rollback without "Add/Remove Programs" barfing up a "Fatal error during installation" message box.
Note: This only seems to happen when the maintenance install is launched from Add/remove programs. re-launching from the setup.exe doesn't produce the undesired messagebox.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 18, 2009
05:03 PM
As far as I am aware, there is no way to prevent this from occurring for an installation that uses an MSI uninstall key for Add/Remove Programs. ARP is checking the return value from the launched uninstall process (msiexec.exe for MSI's). When an MSI install errors out or is aborted, a 1603 or 1602 error is returned. If ARP wants the return value to be 0 (success), there isn't much that can be done to stop this.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)