This documentation is archived and is not being maintained.

ManagementInstaller Class

Installs instrumented assemblies. Include an instance of this installer class in the project installer for an assembly that includes instrumentation.

For a list of all members of this type, see ManagementInstaller Members.


[Visual Basic]
Public Class ManagementInstaller
   Inherits Installer
public class ManagementInstaller : Installer
public __gc class ManagementInstaller : public Installer
public class ManagementInstaller extends Installer

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


If this is the only installer for your application, you may use the helper class DefaultManagementProjectInstaller provided in this namespace.


[Visual Basic, C#] If you have a master project installer for your project, add the following code to your project installers constructor:

// Instantiate installer for assembly.
ManagementInstaller managementInstaller = new ManagementInstaller();

// Add installer to collection.
[Visual Basic] 
'Instantiate installer for assembly.
Dim managementInstaller As New ManagementInstaller()

'Add installer to collection.

[C++, JScript] No example is available for C++ or JScript. To view a Visual Basic or C# example, click the Language Filter button Language Filter in the upper-left corner of the page.


Namespace: System.Management.Instrumentation

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Management (in System.Management.dll)

See Also

ManagementInstaller Members | System.Management.Instrumentation Namespace