New prerequisites don't seem to get installed during update - Advanced Installer Community
MarkArtillery
Posts: 1
Joined: Wed Sep 30, 2015 8:33 pm

New prerequisites don't seem to get installed during update

We've added a new prerequisite to our installer (specifically, the visual studio 2013 redistributable). When doing a fresh install (or after an uninstall/reinstall), the prerequisite is installed correctly. However, when users update our software, it seems that advanced installer does *not* install the vs2013 redist if it is not present.

Is there a way to get AI to check all prerequisites even during an update?

Thanks,
Mark
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: New prerequisites don't seem to get installed during update

Hi Mark and welcome to Advanced Installer forums,

A prerequisite will be installed based its install conditions defined in thePrerequisite Install Conditions Tab. Can you please check if based on its install conditions the prerequisite should get installed?

If the behaviour still persist, can you please send us the .AIP (project file) and a verbose log of the installation process when performing an upgrade to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
IanArtillery
Posts: 1
Joined: Tue Feb 23, 2016 8:00 pm

Re: New prerequisites don't seem to get installed during update

Hi Dan,

It looks like adding /passive skips the prerequisite checks. Is there a way to change that behavior so prerequisites are always checked? Maybe I'm missing something in the Advanced Installer UI.

Full story: We're using WinSparkle (https://github.com/vslavik/winsparkle) to automatically distribute updates to our application. We pass /passive to the installer arguments when updating from WinSparkle because it provides a smooth user experience. However, we've recently added a new prerequisite on an older MSVS redistributable, and we've noticed that users who are upgrading using the WinSparkle method aren't getting the redist installed. I've tried running the installer from the command line and found that /passive is indeed the cause of the newly-added redist prereq not being installed.

Return to “Common Problems”