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.


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.

The settings for the Exclude property are:




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


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

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.

Community Additions