Refreshing application icon after software upgrading

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?
netformxAsked:
Who is Participating?
 
cookreConnect With a Mentor Commented:
Delete the file:
c:\documents and settings\<<username>>\applicationdata\iconcache.db
0
 
_iskywalker_Commented:
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)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.