[wix-users] failing to elevate privileges on Win 10 - WiX 3.9r2

Hoover, Jacob Jacob.Hoover at greenheck.com
Wed Oct 5 09:20:30 PDT 2016

winerror.h 0x80070020
The process cannot access the file because it is being used by another process.

Kind of sounds like the attempt to create an elevated process failed due to some crazy anti-virus software.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of David Burson
Sent: Wednesday, October 05, 2016 11:17 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] failing to elevate privileges on Win 10 - WiX 3.9r2


I have a colleague running Windows 10, testing my application.  When he tries to install my application he does NOT get a UAC prompt, the installer fails, and the log file includes this:

[190C:5294][2016-09-28T17:43:56]e000: Error 0x80070020: Failed to launch elevated child process:

[190C:5294][2016-09-28T17:43:56]e000: Error 0x80070020: Failed to elevate.

[190C:5294][2016-09-28T17:43:56]e000: Error 0x80070020: Failed to actually elevate.

[190C:5294][2016-09-28T17:43:56]e000: Error 0x80070020: Failed to elevate.

If he right-clicks the installer and selects Run as Administrator, he gets the UAC dialog, clicks Yes, but does not have to enter his password.  Then my installer works.

His experience is identical whether he tries to install with his admin user or his non-admin user.

His UAC Settings are set at the default, second from the top (“Notify me only when apps try to make changes to my computer (default)”).

I’ve tested on 3 other Win 10 machines and cannot duplicate the problem - my installer works as expected.  Any idea what could be causing the problem on this one Windows 10 machine?  My fear, of course, is that when I release my app lots of other people will have this problem.



WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list