I've created a WiX installer which I want to install .NET 4.5 if it is missing.
To do this, I've added <PackageGroupRef Id="NetFx45Web" />
to my chain.
The strange problem I have is, on a machine with .Net 3.5 (Windows Vista), everything works fine and WiX installs .NET 4.5 correctly, but on a machine with .NET 4.0 (Windows 7), nothing happens and the installer just executes my application without installing .NET 4.5 first, which then crashes because it requires .NET 4.5
Is there anything I'm missing or is this a bug?