Deployment Tools Foundation
State Property
Gets the installed state of a component.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override InstallState State { get; }
Public Overrides ReadOnly Property State As InstallState Get
public: virtual property InstallState State { InstallState get () override; }
Return Value
InstallState
the installed state of the component, or InstallState.Unknown if this component is not part of a product
the installed state of the component, or InstallState.Unknown if this component is not part of a product
Remarks
Win32 MSI API: MsiGetComponentPath, MsiGetComponentPathEx
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)