I created an installer back in 2010 and used some
.NET Installer Class Actions to install some Windows Event Log sources. I need to add a similar action for a new installer I'm currently putting together, so I'm looking back at this older installer for how to do it.
In 2010, the UI in Advanced Installer for editing these custom actions looked different from how it does now. I seem to have four custom actions for each .NET installer class - one each for the Commit, Install, Rollback and Uninstall transactions. The custom action for the Install transaction has a custom condition under
Execution Stage Condition:
Code: Select all
NOT Installed OR (Installed AND NOT REMOVE)
If I'm understanding that correctly, that means the action will run during installation (NOT Installed) or during a repair operation (Installed AND NOT REMOVE). Immediately above the text box for the the custom condition are three checkboxes that I don't think used to be present (I'm currently running v11.4.1); they are Install, Uninstall and Maintenance.
Could I remove the custom condition and achieve the same effect by checking Install and Maintenance, and unchecking Uninstall (in this old installer project all three are ticked)?
FOLLOW US
Get the latest news in Application Packaging