Use WixNetFxExtension properties as DetectCondition
This post has NOT been accepted by the mailing list yet.
I'm using Wix 3.10 and I am looking for a future proof way of checking for .NET framework from a bootstrapper application. My idea was to use properties from the WixNetFxExtension in a DetectCondition for a ExePackage like this:
I added the reference to the extension dll and I added the corresponding namespace to my Bundle.wxs, but the above DetectCondition always evaluates to false. Is there a smarter way? Or what am I doing wrong? Is something like a <PropertyRef> required, as it is for a MSI project?