Pascal Scripting: IsPowerUserLoggedOn
From Inno Setup
Pascal Scripting: IsPowerUserLoggedOn
Prototype:
function IsPowerUserLoggedOn: Boolean;
Description:
Returns True if the user account that Setup/Uninstall is running under is a member of the Power Users group.