aleksandr.shtifanov
Posts: 20
Joined: Mon Jun 02, 2014 8:31 am

Prerequisite shown even if already installed

Add 2 feature based prerequisites.

Make first component optional (continue with main installation if not installed)
Make second component not optional

Then install the second component on the machine and run the setup.

You will see the prerequisites dialog will show both components in the list, even if the second component is already installed.

This was different in old AdvancedInstaller versions, there already installed components did not show up in the list.

How to fix it?
aleksandr.shtifanov
Posts: 20
Joined: Mon Jun 02, 2014 8:31 am

Re: Prerequisite shown even if already installed

The same happens for optional components. No matter if they are installed or not, they will show up in the prerequisites dialog.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisite shown even if already installed

Hi,

Indeed, the feature-based prerequisites that are already installed on the machine, are displayed on the "PrerequisitesDlg" dialog, but they are disabled and their state cannot be changed. This is the normal behavior now.

If you want them not to be displayed at all, you can create their install conditions in the "Search" page, then use those conditions in the "Disabled if" field from the "Organization" page of the prerequisites' related features.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”