Hello,
I have a feature that I want to install using a conditional based on a property value. In your "how to" you have this video:
https://www.youtube.com/watch?v=XAowXcmQ-kA
It is working but I have a large number of components grouped on a "feature". So to conditional install the feature I can not configure with copy/paste of the conditional in all the components. Instead I am modifying the feature (not the component). I had selected on "Installation Behaviour" the option "Not installed" and then a add the conditional on "Installed if". This solution is working on a clean installation with no previous installations of my product. But it fails if a make an upgrade. To reproduce the error:
1. Install the product and select to install MyFeature
2. Create an installer with new version of my product
3. Now update the my product. This time, unselect the option to install MyFeature
I am expecting that files associated to MyFeature were removed but it is not doing that. It fails too if I add MyFeature on the update process. I tested my project moving the conditional from feature to component, and then I have the expected behaviour. The problem is that I have many installers and many components, so to apply this workaround I will need a long time and it is going to generate a problem on future for maintenance of my installers.
Best regards,
Mario