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
- :
- BasicMSI + Installer Class = Not Firing All Events
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
‎Jul 17, 2008
10:53 AM
BasicMSI + Installer Class = Not Firing All Events
I've been having some issues with our installer not uninstalling correctly. Among these issues are:
1) If uninstalling after an upgrade, the program is "uninstalled" according to windows, but none of the files are removed
2) During any uninstall, *none* of the System.Configuration.Install.Installer class events are fired. This is strange to me given that it works fine in a normal MSI build through Visual Studio (without any installshield involved), and I believe worked fine in IS2008. For me, this is a problem because I can't reverse any of the system changes I make in the same installer classes's Install event calls which *do* work.
Any ideas? I've seen some related posts to both of these, but none of them seem very "resolved" (and I question how similar the conditions are to my situation). One of the posts said something about an /uninst parameter, but with no information on where it goes, when it will be used there, or why it should even be necessary.
1) If uninstalling after an upgrade, the program is "uninstalled" according to windows, but none of the files are removed
2) During any uninstall, *none* of the System.Configuration.Install.Installer class events are fired. This is strange to me given that it works fine in a normal MSI build through Visual Studio (without any installshield involved), and I believe worked fine in IS2008. For me, this is a problem because I can't reverse any of the system changes I make in the same installer classes's Install event calls which *do* work.
Any ideas? I've seen some related posts to both of these, but none of them seem very "resolved" (and I question how similar the conditions are to my situation). One of the posts said something about an /uninst parameter, but with no information on where it goes, when it will be used there, or why it should even be necessary.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 17, 2008
11:16 AM
I do not suggest using Installer class Custom actions under *ANY* ( yes, I mean any ) circumstances. Check out WiX DTF instead. It is a much better solution that will give you the ultimate control over what your custom actions can and can't do while having much better reliability and simplified integration.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 17, 2008
01:42 PM
For what it's worth, InstallShield 2009 also has managed-code custom actions as an alternative to Installer classes; and I think the /uninst switch is only for InstallScript projects.