DefaultManagementProjectInstaller Class
Installs an instrumented assembly. This class is a default project installer for assemblies that contain management instrumentation and do not use other installers (such as services, or message queues). To use this default project installer, simply derive a class from DefaultManagementProjectInstaller inside the assembly. No methods need to be overridden.
For a list of all members of this type, see DefaultManagementProjectInstaller Members.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Configuration.Install.Installer
System.Management.Instrumentation.DefaultManagementProjectInstaller
[Visual Basic] Public Class DefaultManagementProjectInstaller Inherits Installer [C#] public class DefaultManagementProjectInstaller : Installer [C++] public __gc class DefaultManagementProjectInstaller : public Installer [JScript] public class DefaultManagementProjectInstaller 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.
Remarks
If your project has a master project installer, use the ManagementInstaller class instead.
Example
[Visual Basic, C#] Add the following code to your instrumented assembly to enable the installation step:
[C#] [System.ComponentModel.RunInstaller(true)] public class MyInstaller : DefaultManagementProjectInstaller {} [Visual Basic] <System.ComponentModel.RunInstaller(true)> public class MyInstaller Inherits DefaultManagementProjectInstaller
[C++, JScript] No example is available for C++ or JScript. To view a Visual Basic or C# example, click the Language Filter button
in the upper-left corner of the page.
Requirements
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
DefaultManagementProjectInstaller Members | System.Management.Instrumentation Namespace