Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

wixbot opened this Issue May 9, 2014 · 7 comments


None yet
2 participants

wixbot commented May 9, 2014


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.

Originally opened by tobias


wixbot commented May 10, 2014

Works for me on Win7 Pro x64. What's your UAC setting?

Originally posted by barnson


wixbot commented May 12, 2014

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:

  • Install OS W7 X64 Enterprise from MSDN ISO (SW_DVD5_SA_Win_Ent_7_64BIT_English_Full_MLF_X15-70749.ISO) by the VMWare OS Install Wizzard with default settings
    (After OS Install Reboot: When network wizzard appears: Public Network -> WMWare Tools Install runs automatically -> Reboot)
  • Install NetFx 4.5.2 Offline Installer English (http://go.microsoft.com/fwlink/?LinkId=328856) as NonAdmin (UAC propmt appears) -> Restart Now after Finishing the install
  • Windows Update installs some updates
  • Try to run WiX 3.8 Installer -> Issue (Run as admin: ok)

In General: OS not activated, Windows Update history shows Update for Windows KB958488

Originally posted by tobias


wixbot commented May 13, 2014

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.

Originally posted by tobias


wixbot commented May 22, 2014

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.

Originally posted by rseanhall


wixbot commented May 22, 2014

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.

Originally posted by barnson


wixbot commented May 22, 2014

MbaHost should detect "Win7 RTM and .NET >4.5.1". Maybe "fail early with logging"?

AssignedTo set to shall
Release changed from v3.8 to v3.9


wixbot commented Jun 9, 2014

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.

Originally posted by rseanhall
Resolution set to fixed
Status changed from Open to Resolved

@wixbot wixbot added bug burn labels Dec 20, 2015

@wixbot wixbot added this to the v3.9 milestone Dec 20, 2015

@wixbot wixbot closed this Dec 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment