Hello and welcome to our forums,
I have some issues when it comes to prerequisites. In case one is not installed properly, e.g. user pressed (accidentally) cancel when prompted to install, it seems the prerequisite is handled as if installed.
In order to avoid this behavior, you can uncheck the
"Continue with main installation even if the prerequisite is not installed". This will stop the installation process in case mistakes are being made and the prerequisite is not installed.
Furthermore shouldn't the checkboxes of prerequisites marked as 'skip' in the PrerequisitesDlg be unchecked by default?
This happens if
"Install Conditions" are evaluated to
"true" (i.e. if the prerequisite is already installed). The action is changed from
"Mandatory" to
"skip", so the setup will know to continue with the installation, even if
"Continue with main installation even if the prerequisite is not installed" is unchecked. Indeed, it would be useful to change the action name from "skip" to "skip because already installed / present".
There is one way to install a feature-based prerequisite. When all the conditions from the
"Install Conditions" tab are evaluated as
false, and the other one is when you check the feature that contains the prerequisite in the
"OptionalFeatsDlg".
Hope this helps!
If you have any further questions or doubts, don't hesitate to contact me and I'll gladly assist.
Regards,
Catalin