Udostępnij za pośrednictwem


DeployManifest.Install Property

Definition

Specifies whether the application is an installed application or an online only application. If this flag is True the application will be installed on the user's Start menu, and can be removed from the Add/Remove Programs dialog. If this flag is False then the application is intended for online use from a web page. The default is True.

public:
 property bool Install { bool get(); void set(bool value); };
public bool Install { get; set; }
member this.Install : bool with get, set
Public Property Install As Boolean

Property Value

true if the application is an installed application; otherwise, false.

Remarks

If this property is set to true, the application will be installed on the user's Start menu, and it can be removed by using Add or Remove Programs in Control Panel. The default is true. If this property is set to false, the application is intended for online use from a Web page and is available online only.

Note

For WPF Web Browser Applications, you must set the HostInBrowser property to true, and you must also set Install to false. If this condition is not met, you will receive MSBuild Error MSB3116.

Applies to

See also