• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

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?
0
netformx
Asked:
netformx
1 Solution
 
_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
 
cookreCommented:
Delete the file:
c:\documents and settings\<<username>>\applicationdata\iconcache.db
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now