WindBridges
12th May 2011 20:08 UTC
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?
Afrow UK
12th May 2011 21:01 UTC
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
Anders
12th May 2011 21:43 UTC
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?
WindBridges
13th May 2011 18:18 UTC
Anders, thank you for hint, problem actually was with icon cache ))