Bugs item #1727781, was opened at 2007-05-29 17:13 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1727781&group_id=105970
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: light Group: v2.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Pally Sandher (pally_sandher) Assigned to: Nobody/Anonymous (nobody) Summary: Feature Condition is not evaluated during install. Initial Comment: example code: <Feature Id="MyFeature" Level="1" Absent="allow" AllowAdvertise="no" Description="My Feature Description" Display="hidden" Title="MyFeature"> <Condition Level="0"><![CDATA[MYPROPERTY = "False"]]></Condition> <ComponentRef Id="MyComponent" Primary="yes" /> </Feature> <Property Id="MYPROPERTY" Secure="yes"><![CDATA[False]]></Property> No matter what MYPROPERTY is set to, the Level of the Feature will never be changed during install time. This is contrary to the documentation at http://wix.sourceforge.net/manual-wix2/wix_xsd_condition.htm One can switch the behaviour by setting the Feature Level to "0" and the Condition Level to "1" which will result in the Feature always being installed no matter what MYPROPERTY is set to. It appears that the Condition Level is evaluated at build time, not at run time. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1727781&group_id=105970 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
