Refreshing application icon after software upgrading

Posted on 2005-05-05
Last Modified: 2013-11-14
We are installing a new version of our software.
We have modified our application icons. (Desktop file assosiation etc')
The modified icons named the same as the old ones.
After the installation windows shows the old icons even though they were overridden by the new ones.
Only manually change icon action is refreshing the icons. (Properties->change icon...)
Is there a way to refresh the icons by code using MFC,Windows SDK or InstallShield?
Question by:netformx
    LVL 6

    Expert Comment

    you could just uninstall the old version and install the new one, so all icons would be safely deleted and then safely registred. ( i do this for one install, but i hope there is a better way, although a clean installation is better then overwriting a old installation)
    LVL 23

    Accepted Solution

    Delete the file:
    c:\documents and settings\<<username>>\applicationdata\iconcache.db

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Windows 10 SmartScreen vs ClickOnce app 5 89
    canBalance challenge 34 57
    copyEvens challenge 6 47
    for loop with Set 4 38
    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now