sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Custom action "upgrade options" should not be available if action is scheduled before "FindRelatedProducts"

If a custom action is scheduled before the "FindRelatedProducts" action, the "First time install" and "Upgrade" options under "Dialogs/Execution Stage Condition" should not be available. Before "FindRelatedProducts" is executed, the OLDPRODUCTS property is not set, so it is not yet known whether this is a first time install or an upgrade. If only one of those options is selected, the custom action will not run as expected, or may run unexpectedly during an upgrade. This bit me a couple times.
Dan
Posts: 4523
Joined: Wed Apr 24, 2013 3:51 pm

Re: Custom action "upgrade options" should not be available if action is scheduled before "FindRelatedProducts"

Hello,

This seems to be an Advanced Installer issue. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6721
Joined: Wed Jun 13, 2018 7:49 am

Re: Custom action "upgrade options" should not be available if action is scheduled before "FindRelatedProducts"

Hello,

This has been fixed in version 20.8 of Advanced Installer, released on June 28th, 2023.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”