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
- :
- Detecting a failed install for a custom action to clean up com registration
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
‎Jun 20, 2007
12:19 AM
Detecting a failed install for a custom action to clean up com registration
Hi,
Im using a basic MSI project and testing my product for Vista certification. One of the test cases requires adding a merge module to the msi that will cause it to fail and roll back at the very end.
My product uses several activeX controls, all of which I had set to self-register. The self-register works fine on the install, but does not roll back on failure. I think I need a custom action to unregister all the files.
Can someone tell me what condition I need on a custom action to have it run only on installation failure ?
Thanks,
Marcus
Im using a basic MSI project and testing my product for Vista certification. One of the test cases requires adding a merge module to the msi that will cause it to fail and roll back at the very end.
My product uses several activeX controls, all of which I had set to self-register. The self-register works fine on the install, but does not roll back on failure. I think I need a custom action to unregister all the files.
Can someone tell me what condition I need on a custom action to have it run only on installation failure ?
Thanks,
Marcus
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 20, 2007
05:05 PM
Can you use a rollback custom action (a type of deferred action)? Assuming COM extraction doesn't work for you...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 24, 2007
06:56 PM
Thanks Robert - I ended up using COM extraction rather than self-registration and that seems to work ok on rollback. Thanks for the tip.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)