I've built an installer with WIX and have packaged it with the .NET 4.0 framework using the GenerateBootstrapper
task. Now .NET 4.0 cannot be installed on XP SP2, but it appears to have no precondition check for this so its installer fails halfway through.
I'd like to add my own check to make sure the OS that the entire package is being installed on is supported by the .NET 4.0 framework. Is there a way to embed an OS/Service Pack check in the bootstrapper when you use GenerateBootstrapper
? If not, how else can I accomplish this?