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

John Cooper JoCooper at jackhenry.com
Wed Oct 5 10:28:50 PDT 2016


Is FileVirtualization disabled?  I've seen some crazy configs where UAC is on but FileVirtualization is disabled.

--
John Merryweather Cooper
Senior Software Engineer -- Integration Development Group -- Enterprise Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Office:  913-341-3434x431050
JoCooper at jackhenry.com





-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Hoover, Jacob
Sent: Wednesday, October 5, 2016 11:21 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] failing to elevate privileges on Win 10 - WiX 3.9r2

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

winerror.h 0x80070020
#define ERROR_SHARING_VIOLATION
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

Hi,

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:
C:\Users\Dan\AppData\Local\Temp\{91da9c8a-d362-4609-be08-5f648f4ee8fe}\.be\MapCreatorSetup-x64-1.5.0.exe

[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.

Thanks,

David

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

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
NOTICE: This electronic mail message and any files transmitted with it are intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


More information about the wix-users mailing list