Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow tweaking of NetFx package conditions #4720
Today, it's somewhat common to duplicate the NetFx package groups to adjust conditions as we don't have a better way. I'm not entirely sure what the best, cost-is-no-object answer is but one thing we can easily do is introduce WixVariables that developers can override. For example, to support installing NetFx v4.0 on XP and v4.6 on later OSes, we could add InstallCondition attributes with "!(wix.NetFx452InstallCondition)" as the value. We provide a default (blank) value and mark it @Overridable="yes".