Deployment Tools Foundation
IsElevated Property
Checks whether the product is installed with elevated privileges. An application is called
a "managed application" if elevated (system) privileges are used to install the application.
Declaration Syntax
Return Value
True if the product is elevated; false otherwise
Remarks
Note that this property does not take into account policies such as AlwaysInstallElevated, but verifies that the local system owns the product's registry data.