ProvideQualifiedComponent Method (component, qualifier, installMode, product)

Microsoft Deployment Tools

Deployment Tools Foundation ProvideQualifiedComponent Method (component, qualifier, installMode, product)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerInstallerProvideQualifiedComponent(String, String, InstallMode, String)
Gets the full component path for a qualified component that is published by a product and performs any necessary installation. This method prompts for source if necessary and increments the usage count for the feature.
Declaration Syntax
C# Visual Basic Visual C++
public static string ProvideQualifiedComponent(
	string component,
	string qualifier,
	InstallMode installMode,
	string product
)
Public Shared Function ProvideQualifiedComponent ( _
	component As String, _
	qualifier As String, _
	installMode As InstallMode, _
	product As String _
) As String
public:
static String^ ProvideQualifiedComponent(
	String^ component, 
	String^ qualifier, 
	InstallMode installMode, 
	String^ product
)
Parameters
component (String)
Specifies the component ID for the requested component. This may not be the GUID for the component itself but rather a server that provides the correct functionality, as in the ComponentId column of the PublishComponent table.
qualifier (String)
Specifies a qualifier into a list of advertising components (from PublishComponent Table).
installMode (InstallMode)
Installation mode; this can also include bits from ReinstallModes
product (String)
Optional; specifies the product to match that has published the qualified component.
Return Value
Path to the component

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)