ProvideQualifiedComponent Method (component, qualifier, installMode, product)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
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
String
Path to the component

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)