Wix Burn install .Net 4.5.1 only if installed .Net version is lower and not higher
This post has NOT been accepted by the mailing list yet.
We have .Net 4.5.1 as pre-requisite for our software suite. At the time when we authored burn, we had .net 4.5.1 as the latest version and so we didn't had to check for higher version installations. Now that we have 4.6.X or higher .Net versions available in the pc, our setup is always trying to install .Net 4.5.1. So, how to check if higher versions are installed and skip .Net installation?
We don't use web install. The setup file will be available as a .exe for burn to access. Here is the current authoring code.