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: ".Net Installer Class" execution order
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
‎Nov 13, 2008
02:21 AM
".Net Installer Class" execution order
I have a ".Net Installer Class" which has to be executed first.
Is it possible to define the execution order or do I need to create the custom actions myself?
Is it possible to define the execution order or do I need to create the custom actions myself?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 14, 2008
05:58 PM
Right, I'm not sure you can specify the order in which Installer classes are called. For that reason, explicitly calling a managed-code custom action or the like would presumably be required.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 14, 2008
07:01 PM
It's possible via a postbuild step that reorders the sequence tables but I really, really, really, really NEVER use Installer class custom actions. I wouldn't wish them on my worst enemies. Checkout WiX DTF instead.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2008
03:06 AM
I ended up creating the custom actions myself by looking in the msi-file how InstallShield does it. I placed the install, commit and rollback CA's immediately before "Service Start" and the uninstall immediately before "msiUnpublishAssemblies". Then it worked 🙂
I have submitted an enhancement request to InstallShield, that it should be possible to specify the order of execution.
I have submitted an enhancement request to InstallShield, that it should be possible to specify the order of execution.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2008
07:01 AM
Personally I think a better feature request would be to remove Installer class custom actions all together.
You may have gotten it `to work` for today, but Installer class custom actions are fragile and the WILL give you problems one day in the future. I'd bet a pay check on that.
Managed custom actions aren't evil, Installer class custom actions are. Check out DTF.
You may have gotten it `to work` for today, but Installer class custom actions are fragile and the WILL give you problems one day in the future. I'd bet a pay check on that.
Managed custom actions aren't evil, Installer class custom actions are. Check out DTF.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)