How to change windows Applicatoin's default icon in Setup Project
It is truly odd that when you are creating a deployment (set up) project, and you create a shortcut to the "Primary output" (an .exe), the shortcut does not automatically get the .exe's icon. Instead it gets a generic document shortcut icon. Some of the answers here suggest adding an .ico file to the installer, but that certainly feels wrong. You can get the desired icon into the shortcut without adding an .ico file.
Assuming you have already given your program the desired icon,
- In the solution explorer, right click on the installation project and go to "View -> File System".
- in the File System window, find the shortuct whose icon you want to change (for example, under "Users's Programs Menu")
- go to the shortcut Properties (right-click and pick "Properties Window")
- go to Icon
- Browse...
- change "Files of type" to *.exe
- browse to and select your "primary output"
- OK, OK
And as serhio pointed out, a similar process can set the icon for the Control Panel's "Add or Remove Programs" list.
You can also change the Icon in the Add & Remove Programs list.
For this select the Setup1 project and select the property AddRemoveProgramsIcon.
You can select an .ico file or leave the main .exe output as file for the icon.
Make sure you .ico is not to big. Had this issue for hours just to find 256x256 is to big. 48x48 is perfect but I think 128x128 might also work.