Specifies whether an installer should be invoked during installation of an assembly.
Object
Attribute
MemberAttribute
RunInstallerAttribute
[Visual Basic] Public Class RunInstallerAttribute Inherits MemberAttribute [C#] public class RunInstallerAttribute : MemberAttribute [C++] public __gc class RunInstallerAttribute : public MemberAttribute [JScript] public class RunInstallerAttribute extends MemberAttribute
If a class that inherits from Installer is marked with with RunInstaller(true), Visual Studio 7's Custom Action Installer or the installutil.exe will be invoked when the assembly is installed. Members marked with RunInstaller(false) will not invoke an installer. The default is false.
Note When you mark a property with RunInstaller(true), the value of this attribute is set to the constant member RunInstallerAttribute.Yes. For a property marked with RunInstaller(false), the value is RunInstallerAttribute.No. Therefore, when you want to check the value of this attribute in your code, you must specify the attribute as RunInstallerAttribute.Yes or RunInstallerAttribute.No.
For more information, see TBD and TBD.
Namespace: System.ComponentModel
Assembly: System.dll
System.ComponentModel Namespace | MemberAttribute | System.Configuration.Install.Installer