Icons are not displayed/updated after installation
Hi,
when I create file associations in the registry and set the DefaultIcon key under the HKCR entries, it all works fine and the necessary registry keys are created just the way they should be.
But after the installation is completed, windows explorer and desktop do not update to display the new icons.
Does anybody know what could cause this?
Here are the keys i am writing (for extension .ext1):
HKCR ".ext1" "" "MyApp.EXT1"
HKCR "MyApp.EXT1" "" "MyApp File"
HKCR "MyApp.EXT1\DefaultIcon" "" "$INSTDIR\ext1.ico"
HKCR "MyApp.EXT1\shell" "" "open"
HKCR "MyApp.EXT1\shell\open" "" "&Open with MyApp"
HKCR "MyApp.EXT1\shell\open\command" ""
"$\"$INSTDIR\MyApp.exe$\" $\"%1$\""
Thanks in advance...