Talk:LogicLib - UserIsAdmin: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Jump +4 bug fixed)
 
Line 2: Line 2:


Corrected bug that prevented the restoration of the stack.
Corrected bug that prevented the restoration of the stack.
== UAC/elevation issues ==
This does not work on UAC-enabled systems (like Vista, 7, 8, 8.1). A user, that has admin rights will always be reported to be Administrator (which is correct), even if the installer is not running with elevated rights - which makes this check rather useless.
The expected behavior should be: If program is elevated, do report admin rights, if not elevated, do not report admin rights.

Revision as of 14:01, 4 March 2014

Jump +4 bug fixed

Corrected bug that prevented the restoration of the stack.

UAC/elevation issues

This does not work on UAC-enabled systems (like Vista, 7, 8, 8.1). A user, that has admin rights will always be reported to be Administrator (which is correct), even if the installer is not running with elevated rights - which makes this check rather useless.

The expected behavior should be: If program is elevated, do report admin rights, if not elevated, do not report admin rights.