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
W7 64 Bit with NetFx 4.5.2 installed: Install WiX 3.8 RTM not working: "User canceled installation" Error #4416
Got the issue that our managed Bootstrapper behaves strange on Win7 x64 with NetFx 4.5.2 installed (before with NetFx 4.5.1 worked seemless!). This could be reproduced on 2 different W7 x64 VMs
Then we digged a bit deeper and got the same issue with WiX 3.8 installer:
Steps to Reproduce:
Restore VM snapshot with NetFX 4.5.1: WiX installer runs as expected and asks for elevation
Interesting: W8.1 / W7 x86 with NetFx 4.5.2 Works as expected.
UAC Settings not touched after OS Install (Default - Notify me only when programs try to make changes to my computer)
Did the whole setup on a blank VMWare 9.0.1 build-894247 in order to have an exactly reproducible instruction how to get to the issue:
In General: OS not activated, Windows Update history shows Update for Windows KB958488
Supported Operating System
Windows 7 Service Pack 1, Windows 8, Windows 8.1, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Server 2012, Windows Server 2012 R2, Windows Vista Service Pack 2
Win7 RTM isn't supported. It should probably block, but, alas, it doesn't.
As Bob said, .NET 4.5.2 is not supported on Win7 RTM. There appears to be a bug in .NET 4.5.2 on Win7 x64 RTM that doesn't allow the engine to elevate. MbaHost now detects when it has loaded the .NET 4 CLR with .NET 4.5.2 (or greater) installed. It then displays the new NET452WIN7RTM #(loc) string for the failure message in the mbapreq theme.