Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Change default icon on the application's exe file??
 

Change default icon on the application's exe file??

I have been searching for the answer for this problem for a while now. I have been going through the settings without no luck at all.

I have found out how to:
* change the icon on the application window's left upper corner
* set the icon that's showing in add/remove programs dialog
* change the icon on a shortcut placed on the users desctop (by adding the icon to theprogramfolder and then change the shortcut's icon-property to that icon)... I hope that is how it is supposed to be done?!

But how do I change the default icon (white with blue border) on the application's exe file that is outputted to the programfolder by the installer project???

I have added the icon i want to use in app.rc by using the "Resource View"-window. I have also removed the old icon "app.ico" from the project without any progress.

Do I really have to change the icon-propery, on a shortcut pointing to the application, to the icon of my choise? Shouldn't a shortcut pointing to my application using the icon of the application by default??

Does anybody have the answers for my questions???

Andreas Asterlund  Monday, January 29, 2007 12:25 AM
Hello... doesn't anybody know the answer for my question?
Andreas Asterlund  Saturday, February 03, 2007 10:39 PM

Yes you really do have to set the Icon property in the shortcut's properties, that's just the way it works.

PhilWilson  Thursday, February 08, 2007 2:47 PM

So it is not possible to change the icon on the exe file then??

For instance if I look in my Adobe InDesign folder I se that the exe file's icon is changed to a nice InDesign-icon... is that not possible with Visual Studio 2005??

Andreas Asterlund  Friday, February 09, 2007 5:05 AM
You'll have to ask in an appropriate forum.Your question seems to be about how you use Visual Studio to have a custom icon that shows in Explorer, and this deployment forum isn't really the right place. "Visual Studio General" might be better.
PhilWilson  Friday, February 09, 2007 7:46 PM
Okey thanks!
Andreas Asterlund  Friday, February 09, 2007 11:51 PM
Andreas Asterlund wrote:
Okey thanks!


AAaaahhh, I have the same problem, sb ?
Big_B_______  Friday, February 16, 2007 2:49 PM
Found it :)

Open your project, open project menu, scroll to <your project name> Properties, Application tab -> change default icon.

Weeeeeee
Big_B_______  Saturday, February 17, 2007 4:47 PM
how did you change the icon that goes into the Add/Remove programs list?
Hemal Desai  Thursday, February 22, 2007 6:00 PM

nevermind, i figured it out. but in case there's anyone else reading this who needs to know how to change the icon in the Add/Remove programs list, here it is:

1. Make sure you have the properties window open in your project.

2. In the Solution Explorer, select your Setup Project.

3. Select the AddRemoveProgramsIcon property and choose Browse... from the drop-down list.

4. Browse for the icon you want. You should already have the icon in the Application Folder of your Setup project. If you don't, you can click the Add File... button to add it to your project.

go to this website for more details:http://msdn2.microsoft.com/en-US/library/syyw4edd(VS.80).aspx

Hemal Desai  Thursday, February 22, 2007 6:19 PM
Thanks..Works great.

Munkey-Boy  Tuesday, September 23, 2008 1:10 PM
I'm working on an application that I'll be publishing using ClickOnce. With ClickOnce you don't have a Setup Project or at least not the same kind of setup project like you do when you're using Windows Installer. Can you use your own custom icon for add remove programs if you're using ClickOnce? From what I've seen so far it seems to me that you cannot but if someone knows a way that you can let me know.
Desert dweller
Paul the programmer  Sunday, March 15, 2009 1:48 PM

You can use google to search for other answers

Custom Search

More Threads

• Orca
• Antivirus Programs are Denying my sql patch
• How to Deploy Clickonce in client place.
• Programmatically restarting a ClickOnce app using System.Application.Deployment namespace
• Secure public delpoyment website that uses ClickOnce
• Using command line with ClickOnce
• Can a bootloader and its contents be packaged up into one file?
• installing MS Access database engine with my application setup
• self-repair of window installer
• Error on installing Clickonce application