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
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.