Deleting Files from an Installer Project

You can delete files from an installer project from either the Project Explorer or the File System editor.

To delete files from an installer project

  1. In either the Project Explorer or the File System editor, select the files to delete.

  2. Right-click any of the selected files.

  3. Select Delete from the context menu.

    Any files you selected are deleted from the installer project but not deleted from your source machine.

    Important   Because all files in a Microsoft® Visual Studio® Installer project are elements of installer components, deleting files from the project affects the composition of your installer components. Most significantly, deleting a component key file from the installer project deletes that component and, in some cases, creates new components at the same time. For more information about deleting files from components, see Modifying the File Structure of Installer Components.