On WIX, I would like the feature to be installed and removed normally, but not affected during the repair.
I could not find a condition that would allow me to do this. My attempts were unsuccessful: the function is reinstalled during the repair (which I do not need) or is not deleted.
This is an example that I have tried in the past:
<Feature Id="aFeature" Title="A Features" Level="1">
<ComponentRef Id="aComponent" />
<Condition Level="0">
<![CDATA[WixUI_InstallMode="Repair"]]>
</Condition>
</Feature>
What is the correct condition to remove but not reinstall during repair? Or what did I do wrong?
source
share