IManagedInstaller.ManagedInstall Method (String, Int32)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Executes a managed installation.

Namespace:   System.Configuration.Install
Assembly:  System.Configuration.Install (in System.Configuration.Install.dll)

int ManagedInstall(
	string commandLine,
	int hInstall
)

Parameters

commandLine
Type: System.String

The command line that specifies the installation.

hInstall
Type: System.Int32

The handle to the installation.

Return Value

Type: System.Int32

The return code for installutil.exe. A successful installation returns 0. Other values indicate failure.

.NET Framework
Available since 1.1
Return to top
Show: