Deployment Tools Foundation
GetComponentState Method (component)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► ProductInstallation ► GetComponentState(String)
Gets the installed state for a product component.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public InstallState GetComponentState( string component )
Public Function GetComponentState ( _ component As String _ ) As InstallState
public: InstallState GetComponentState( String^ component )
Parameters
- component (String)
- The component being queried; GUID of the component as found in the ComponentId column of the Component table.
Remarks
Win32 MSI API: MsiQueryComponentState