Deployment Tools Foundation
ProvideQualifiedComponent Method (component, qualifier, installMode, product)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Installer ► ProvideQualifiedComponent(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++ | F# |
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 )
static member ProvideQualifiedComponent : component : string * qualifier : string * installMode : InstallMode * product : string -> string
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
Path to the component
Remarks
Win32 MSI APIs: MsiProvideQualifiedComponentMsiProvideQualifiedComponentEx
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)