Share via


Application Icon are not displayed during Clickonce installation in WPF Application

Question

Wednesday, February 18, 2015 11:33 AM

During Clickonce installation of WPF application, Icon File(ico) is not displayed in the start Menu and installed applications list in control panel..

Default icon only gets displayed.

In my project 

Already added ico file in the "Icon and Manifest" in Application Properties. 

Please answer me how to show Application Icon in the Start Menu as well as in installed applications in control panel

All replies (5)

Wednesday, February 18, 2015 11:46 AM ✅Answered

Displaying the icon in the Control Panel is appearantly not supported for ClickOnce applications. You will have to do it yourself. Please refer to the following links for more information:
http://stackoverflow.com/questions/3085154/application-icon-doesnt-show-in-control-panel-add-remove-programs
http://stackoverflow.com/questions/13245056/is-there-a-way-to-change-the-icon-of-a-clickonce-application-in-add-or-remove-p

Please remember to mark helpful posts as answer to close your threads.


Wednesday, February 18, 2015 11:49 AM ✅Answered

Did you do this:

http://learnwpf.com/post/2012/07/09/Adding-an-Icon-and-File-Association-to-WPF-Clickonce-Applications.aspx

You also set the ico file as the project icon.

Since that's under the Icon and Manifest I guess you did that.

Also

The main window ought to have it's icon set to thee icon.

The main window is the first window you open - which of course may or may not be called MainWindow.

Hope that helps.
Recent Technet articles: Property List Editing ;   Dynamic XAML


Wednesday, February 18, 2015 11:40 AM

Make sure that you have set an icon for the application (and not just the window) under Project->Properties->Application->Resources->Icon in Visual Studio.

Then this icon should show up in the start menu.

Please remember to mark helpful posts as answer to close your threads.


Wednesday, February 18, 2015 11:45 AM

Thanks for the reply.

Already I added icon file under the Resources->Icon and Manifest.

But it still not showing Application Icon during installation or in installed Applications in Control panel.


Wednesday, February 18, 2015 11:53 AM

Thank you Magnus.

I will try your suggested links and revert you.

Once again, Thanks for the reply.