How do I set a property based on condition that a user has selected a feature in WIX?

Problem:
I want to set a property to be used after the FeaturesDlg (the one with the feature tree) , based on condition that an user selected a feature or not. Is this possible?
I've declared a new property, but I don't know how to set its value (that feature is enabled/disabled on feature tree).

Solution:
We can find the feature is selected for installation or not usin
<![CDATA[&FeatureID=3]]>
This would give a true value, if it has been selected in the feature tree.

More Info:

Comparative Operators

The following table shows the comparison operators used in conditional expressions. These comparison operators can only occur between two values.
OperatorMeaning
=TRUE if left value is equal to right value.
<>TRUE if left value is not equal to right value.
>TRUE if left value is greater than right value.
>=TRUE if left value is greater than or equal to right value.
<TRUE if left value is less than right value.
<=TRUE if left value is less than or equal to right value.

Comments

Popular posts from this blog

Auto Scroll in Common Controls

Convert typed library (.tlb) to .net assembly?

Disable close button on form - C#