[Bug 40613] Multiple applications require UAC implementation to run installer/app as a normal user instead of administrator (WhatsApp Desktop, Smartflix, Squirrel Installers, OneDrive)

WineHQ Bugzilla wine-bugs at winehq.org
Fri Nov 27 03:20:42 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=40613

Robert Wilhelm <sloper42 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sloper42 at yahoo.com

--- Comment #37 from Robert Wilhelm <sloper42 at yahoo.com> ---
(In reply to Louis Lenders from comment #1)

This hack still works. Please note location has changed after port to PE:

diff --git a/dlls/ntdll/unix/security.c b/dlls/ntdll/unix/security.c
index ad85020d6c0..b5864b411d9 100644
--- a/dlls/ntdll/unix/security.c
+++ b/dlls/ntdll/unix/security.c
@@ -393,7 +393,7 @@ NTSTATUS WINAPI NtQueryInformationToken( HANDLE token,
TOKEN_INFORMATION_CLASS c
         {
             TOKEN_ELEVATION_TYPE *type = info;
             FIXME("QueryInformationToken( ..., TokenElevationType, ...)
semi-stub\n");
-            *type = TokenElevationTypeFull;
+            *type = TokenElevationTypeDefault;//TokenElevationTypeFull;
         }
         break;

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list