Hello and welcome to Advanced Installer forums,
Please note that a prerequisite will be installed based its
install conditions defined in the
Prerequisite Install Conditions Tab of the related
Prerequisite. The
Install Conditions section allows you to condition the prerequisite based on custom searches. You can create multiple searches for the same prerequisite. In order to test a condition you can use the
[Test] button.
The
Prerequisite Search Dialog allows you to add a new search to the installation conditions of a prerequisite or edit an existing one.
Also, be aware by the two options below the “Install Conditions” pane:
- Install only if at least one condition is false - If this option is selected, at least one search must fail in order to install the prerequisite.
Install only if all conditions are false - If this option is selected, all searches must fail in order to install the prerequisite.
So, the prerequisite software will be installed according to the enabled option which refers to the install condition that you have defined before.
Please keep in mind that the recommended way to add the
.NET Framework installer prerequisite is as a
pre-install prerequisite, which is our default. This is happening because these packages contain very complicated installation logic, which sometimes includes installing OS updates, this conflicts with the current support we have for feature-based prerequisites, so you cannot install a .NET Framework as a feature-based prerequisite.
Please take a look on the
Why does .NET Framework fails as feature-based prerequisite? article which may be useful to you.
You can also take a look on the
Add Prerequisite article which may be useful to you.
Please let us know if that helped, otherwise give us more details about your specific scenario.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging