Specifies whether the Visual Studio Custom Action Installer or the Installer Tool (Installutil.exe) should be invoked when the assembly is installed.
See Also: RunInstallerAttribute Members
If a class that inherits from System.Configuration.Install.Installer is marked with the System.ComponentModel.RunInstallerAttribute set to true, Visual Studio's Custom Action Installer or the InstallUtil.exe will be invoked when the assembly is installed. Members marked with the System.ComponentModel.RunInstallerAttribute set to false will not invoke an installer. The default is true.
When you mark a property with the System.ComponentModel.RunInstallerAttribute set to true, the value of this attribute is set to the constant member RunInstallerAttribute.Yes. For a property marked with the System.ComponentModel.RunInstallerAttribute set to 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 Extending Metadata Using Attributes.