New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
W7 64 Bit with NetFx 4.5.2 installed: Install WiX 3.8 RTM not working: "User canceled installation" Error #4416
Comments
Works for me on Win7 Pro x64. What's your UAC setting?
|
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
|
Did some additional testing. And got some additional information. It can be fixed by Installing Win7 SP1. But for our customers we support W7 RTM as well.
|
I can reproduce this on a clean install of Win7 Pro x64 (without SP1). There is never an elevation prompt. Calling GetLastError from ShellExecuteEx returns ERROR_PROC_NOT_FOUND.
|
Per http://www.microsoft.com/en-us/download/details.aspx?id=42643: 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.
|
MbaHost should detect "Win7 RTM and .NET >4.5.1". Maybe "fail early with logging"?
|
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.
|
Hi,
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:
Install NetFX 4.5.2 on W7 x64 VM (with reboot afterwards)
Click on Install (as user without Elevation)
Error message with "User canceled installation." appears and installation fails. Log:
[0974:0528][2014-05-09T06:18:25]e000: Error 0x80070005: Failed to launch elevated child process: C:\Users\admin\AppData\Local\Temp{a9ee4e53-3e8c-4c6e-8183-a108d2f12a8e}.be\WiX38.exe
[0974:0528][2014-05-09T06:18:27]e000: Error 0x80070642: Failed to elevate.
[0974:0528][2014-05-09T06:18:27]e000: Error 0x80070642: Failed to actually elevate.
[0974:0528][2014-05-09T06:18:27]e000: Error 0x80070642: Failed to elevate.
[0974:0528][2014-05-09T06:18:27]i399: Apply complete, result: 0x80070642, restart: None, ba requested restart: No
[0974:0528][2014-05-09T06:18:29]i500: Shutting down, exit code: 0x80070642
when context menu "Run as Administrator" the install starts as expected
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.
The text was updated successfully, but these errors were encountered: