Share via


Exclude Property

Determines whether a file, assembly, project output group, or merge module will be excluded from an installer or merge module. The item will remain in the project, but 'will 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 which are not intended to be installed will set this property to True.

Settings

The settings for the Exclude property are:

Setting Description
False The selected item will be included in the installer or merge module.
True The selected item 'will not be 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 will already exist on every computer where your application may be deployed.

See Also

Properties for the File System Editor | Merge Module Properties | Files, Folders, and Deployment