views:

310

answers:

2

Hi folks!

I have a problem with installing of my application via NSIS in windows 7. Application installs successfully, but instead of myApplicationsIcon windows shows generic icon. I know how to fix this problem manually(delete IconCache.db in AppData\Local), but how can I do this with NSIS-script?

Regards, Dmitry.

A: 

Did you try calling SHChangeNotify first?

If that is not enough, use the delete instruction and the $localappdata constant

Anders
A: 

If your exe file is extremely large, Windows will sometimes not display the icon.

AaronLS