Upgrade prerequisites during application update - Advanced Installer Community
naniew
Posts: 12
Joined: Fri Apr 24, 2015 10:31 am

Upgrade prerequisites during application update

My application v.1 requires .Net Framework 4.0 Client Profile while the next version of the application (v.2) requires .Net Framework 4.5.
The installers of the applications have prerequisites set accordingly.

I use Advanced Updater (Advanced Installer 12.5) to update the application with the support service to install update without elevation.

If I start the installer of the v.2 manually, it installs the .Net Framework 4.5 successfully.

However if I try to update from v.1 (with .Net Framework 4.0 installed) to v.2, the .Net Framework 4.5 is not installed, so the application v.2 fails to launch.

How should I setup the updater/installer so that the .Net Framework would be upgraded during update?

Best regards
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Upgrade prerequisites during application update

Hello,

Please note that the .Net Framework prerequisite is added as a Pre-Install prerequisite, and you can see here why does .NET Framework fails as feature-based prerequisite?.

Please note that the Pre-install prerequisites are installed by an EXE bootstrapper before your MSI is launched. So, when creating the Updates File can you please make sure you select the .EXE installation package?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
naniew
Posts: 12
Joined: Fri Apr 24, 2015 10:31 am

Re: Upgrade prerequisites during application update

Indeed I was using MSI installation package as an update. When I switched to EXE, prerequisites were installed as expected.

Thank you.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Upgrade prerequisites during application update

You're welcome,

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”