Επεξεργασία

Κοινή χρήση μέσω


Privileged property

The Privileged property indicates whether the installation is performed in the context of elevated privileges. The installer sets this property if the user has administrator privileges, if the application has been assigned by a system administrator, or if both the user and machine policies AlwaysInstallElevated are set to true.

Default Value

The installer does not set this property if the user is not allowed to install with elevated privileges.

Remarks

Developers of installer packages can use the Privileged property to make the installation conditional upon system policy, the user being an administrator, or assignment by an administrator.

When running on Windows Vista, the Privileged and AdminUser are the same.

Requirements

Requirement Value
Version
Windows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP. See the Windows Installer Run-Time Requirements for information about the minimum Windows service pack that is required by a Windows Installer version.

See also

Properties