Privileged 屬性

Privileged屬性會指出是否在提高許可權的內容中執行安裝。 如果使用者具有系統管理員許可權、應用程式已由系統管理員指派,或是使用者和電腦原則 AlwaysInstallElevated 都設定為 true,安裝程式就會設定此屬性。

預設值

如果使用者不允許以提高的許可權進行安裝,安裝程式就不會設定此屬性。

備註

安裝程式套件的開發人員可以使用 Privileged 屬性,在系統原則、使用者為系統管理員或系統管理員指派時,設定安裝條件。

在 Windows Vista 上執行時, PrivilegedAdminUser 相同。

規格需求

需求
版本
Windows Server 2012、Windows 8、Windows Server 2008 R2 或 Windows 7 上的 Windows Installer 5.0。 Windows Server 2008 或 Windows Vista 上的 Windows Installer 4.0 或 Windows Installer 4.5。 Windows Server 2003 或 Windows XP 上的 Windows Installer。 如需 Windows Installer 版本所需的最低 Windows Service Pack 相關資訊,請參閱 Windows Installer Run-Time需求

另請參閱

屬性