

Deployment Tools Foundation
State Property
Gets the installed state of a component.

C# | Visual Basic | Visual C++ | F# |
public override InstallState State { get; }
Public Overrides ReadOnly Property State As InstallState Get
public: virtual property InstallState State { InstallState get () override; }
abstract State : InstallState with get override State : InstallState with get

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

Win32 MSI API: MsiGetComponentPath, MsiGetComponentPathEx
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)