[wix-users] feature condition and uninstall
Nir Bar
nir.bar at panel-sw.com
Fri Mar 2 00:28:49 PST 2018
Unlike LaunchConditions that fail the installation if false, feature conditions set the level of the feature if true.
That means that you're setting the feature level to 0 during uninstall/repair/modify.
That in turn, causes the feature to be ignored during the operation which is why it isn't removed.
Feature levels are intended for default selection of features to install.
To get the feature to uninstall, remove the Condition element altogether.
--
Nir Bar, Independent WiX Expert. Creator of-
JetBA: WiX WPF Bootstrapper User Interface Framework
JetBA++: WiX Native Bootstrapper User Interface Framework
More information about the wix-users
mailing list