ComponentInstallation Constructor (componentCode)

DTF API

Copy image CopyHover image
Deployment Tools Foundation ComponentInstallation Constructor (componentCode)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerComponentInstallationComponentInstallation(String)
Creates a new ComponentInstallation, automatically detecting the product that the component is a part of.
Declaration Syntax
C# Visual Basic Visual C++ F#
public ComponentInstallation(
	string componentCode
)
Public Sub New ( 
	componentCode As String
)
public:
ComponentInstallation(
	String^ componentCode
)
new : 
        componentCode : string -> ComponentInstallation
Parameters
componentCode (String)
component GUID
Remarks

Win32 MSI API: MsiGetProductCode

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