Archive: Stretched icon on desktop


Stretched icon on desktop
Hi.
I adding shortcut to the desktop like this:

Section "Desktop shortcut"
CreateShortCut "$DESKTOP\App.lnk" "$INSTDIR\App.exe" '-params' "$INSTDIR\App2.exe" 0
SectionEnd


And I get shortcut icon that looks like 16x16 icon is stretched to 32x32. When I edit shortcut icon clicking "Change icon" in edit dialog and then click OK - then I get fine and clean icon. 32x32 icon size is present in application. What I did wrong?

Is it your icon? Make sure you order the icons from largest to smallest and from 32-bit + alpha down to 16-bit colour.

Stu


It is pointless to specify a explicit icon when you just use the same name as the target and icon index 0...

Your issue is probably related to the icon cache, can you try on a different machine?


Anders, thank you for hint, problem actually was with icon cache ))