Splinti
Posts: 2
Joined: Mon Jan 29, 2024 9:22 am

Configuring Updater for Software Version Downgrades

Mon Jan 29, 2024 12:25 pm

Hello,

I am currently using a software that has the capability to switch between different versions. For my specific use case, I need the software updater to automatically “update” to a lesser version (for example, from Version 1.1 to 1.0).

However, I have not found any configuration settings that would allow me to enable this functionality.

Edit: Using a .msi installer would be preferred due to compatibility reasons.

Is it possible to configure the updater to allow such downgrades? Any guidance or suggestions would be greatly appreciated.

Thank you!

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Configuring Updater for Software Version Downgrades

Wed Jan 31, 2024 5:02 pm

Hello and welcome to our forums,

Normally, Windows Installer does not allow the downgrade scenario.

However, at our user's request, we have implemented the option to allow a downgrade. You can set this in the "Upgrades" page of your Advanced Installer project.

However, I'm afraid this might not work with the updater.

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

Splinti
Posts: 2
Joined: Mon Jan 29, 2024 9:22 am

Re: Configuring Updater for Software Version Downgrades

Fri Feb 02, 2024 10:02 am

Hi,

thanks for your response!

I was able to find a solution using a custom EXE as detection method.
It seems to work almost fine, but I have one problem that I would need help with.

When the updater starts the installation of the "newer" version, my custom actions don't get executed for some reason.
I would need a custom action to execute a script, even when it's not a first-time-install.
How can I add a custom action in my installer that also runs on update?

Thanks for your help!

Best regards
Splinti

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Configuring Updater for Software Version Downgrades

Mon Feb 05, 2024 3:24 pm

Hello Splinti,

Thank you for your followup on this and for sharing your solution with us!
How can I add a custom action in my installer that also runs on update?
In the Custom Actions page --> your custom action, we should make sure that under "Execution Stage Conditions" --> "Show upgrade options", the "Upgrade" option is selected.

Hope this helps!

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

Return to “Building Installers”