ComponentInstallation Constructor (componentCode, productCode, szUserSid, dwContext)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation ComponentInstallation Constructor (componentCode, productCode, szUserSid, dwContext)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerComponentInstallationComponentInstallation(String, String, String, UserContexts)
Creates a new ComponentInstallation for a component installed by a specific product.
Declaration Syntax
C# Visual Basic Visual C++
public ComponentInstallation(
	string componentCode,
	string productCode,
	string szUserSid,
	UserContexts dwContext
)
Public Sub New ( 
	componentCode As String,
	productCode As String,
	szUserSid As String,
	dwContext As UserContexts
)
public:
ComponentInstallation(
	String^ componentCode, 
	String^ productCode, 
	String^ szUserSid, 
	UserContexts dwContext
)
Parameters
componentCode (String)
component GUID
productCode (String)
ProductCode GUID
szUserSid (String)
context user SID
dwContext (UserContexts)
user contexts

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