Product.Context-Eigenschaft
Die Context-Eigenschaft gibt den Kontext dieses Produkts zurück.
Diese Eigenschaft ist schreibgeschützt.
Syntax
propVal = Product.Context
Eigenschaftswert
Bemerkungen
Diese Eigenschaft kann einen der folgenden Werte zurückgeben.
| Kontext | Wert | Bedeutung |
|---|---|---|
| MSIINSTALLCONTEXT _ USERMANAGED | 1 | Produkte im verwalteten Kontext. |
| MSIINSTALLCONTEXT-BENUTZER _ | 2 | Produkte im nicht verwalteten Kontext. |
| MSIINSTALLCONTEXT-COMPUTER _ | 4 | Produkte im Computerkontext. |
Requirements (Anforderungen)
| Anforderung | Wert |
|---|---|
| Version |
Windows Installer 5.0 auf Windows Server 2012, Windows 8, Windows Server 2008 R2 oder Windows 7. Windows Installer 4.0 oder Windows Installer 4.5 auf Windows Server 2008 oder Windows Vista. Windows Installer 3.0 oder höher auf Windows Server 2003, Windows XP und Windows 2000 |
| DLL |
|
| IID |
IID IProduct ist als _ 000C10A0-0000-0000-C000-00000000046 definiert. |