Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RegistrationHelperTx.InstallAssembly Method (String, String, String, InstallationFlags, Object)

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

Installs the named assembly in the COM+ catalog using transactional semantics.

Namespace:  System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)
public void InstallAssembly(
	string assembly,
	ref string application,
	ref string tlb,
	InstallationFlags installFlags,
	Object sync


Type: System.String

The file name of the assembly to install.

Type: System.String

Either the name of the COM+ application to install into or null.

Type: System.String

Either the name of the output Type Library Exporter (Tlbexp.exe) file or null.

Type: System.EnterpriseServices.InstallationFlags

A bitwise combination of the installation flags values.

Type: System.Object

A synchronization object generated by the infrastructure that can wait until the specified assembly has been configured in the COM+ catalog.

The InstallAssembly method does not need to be called directly from your code. Instead, call the InstallAssembly method with the same parameters except object sync.

This method requires the caller to have administrative privileges on the local computer.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.