Share via


Exclude Property

Determines whether a file, assembly, project output group, or merge module is excluded from an installer or merge module. The item remains in the project, but is not be installed on a target computer.

Note

Most files automatically set this property to False when added to a project, however some files such as custom actions that are not intended to be installed set this property to True.

Settings

The settings for the Exclude property are:

Setting

Description

False

The selected item is included in the installer or merge module.

True

The selected item is not included in the installer or merge module.

Remarks

If the excluded item is a dependency of another item in the project, a run-time error may occur on the target computer. Exclude an item only if you are certain that it is not a dependency or that it already exists on every computer where your application may be deployed.

See Also

Tasks

How to: Exclude Items from a Deployment Project

Reference

Properties for the File System Editor

Merge Module Properties