I have to be stupid. Searched for hours in the internet to find a solution. I couldn't find one.
How do I set the icon for my start menu shortcut, when I deploy and install my application with ClickOnce?
I have to be stupid. Searched for hours in the internet to find a solution. I couldn't find one.
How do I set the icon for my start menu shortcut, when I deploy and install my application with ClickOnce?
This looks like a solution:
http://social.msdn.microsoft.com/Forums/en/winformssetup/thread/3a385b87-54ae-4432-9b48-e7077bde255d
Double-click on the properties for your main project.
Click on the Application tab. (I'm assuming C# here. If you're doing VB, post back if it's different and I'll see if it's the same.)
In the middle of the page, there is an option for "icon and manifest".
Browse to find the icon you want to use and select it.
It needs to be in the top folder of your project; I think it will put it there when you select it.
The icon will be deployed with your project, and will be used in the Start Menu. (You can doublecheck the Application Files dialog -- it should be in there marked include(auto)).
You can set the icon on the forms to point to the same icon, and show it on all your forms too.