RunInstallerAttribute.Yes Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Specifies that the Visual Studio Custom Action Installer or the Installutil.exe (Installer Tool) should be invoked when the assembly is installed. This static field is read-only.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

static val Yes : RunInstallerAttribute

When you mark a property with the RunInstallerAttribute set to true, the value of this attribute is set to the constant member Yes. Therefore, when you want to check whether the attribute is set to this value in your code, you must specify the attribute as RunInstallerAttribute.Yes.

.NET Framework
Available since 1.1
Return to top