The ShortCut has no icon 😕
CreateShortCut "$DESKTOP\Starlight.lnk"
"$INSTDIR\Starlight.exe" "$INSTDIR\System\Icons\Library\xp.icl" 2
ShortCut Icon
5 posts
Try:
[edit]I have learnt from experience that using icons in multiple icon sources (e.g. .exe and .icl) in a shortcut, you have to specify the path and filename, then with no space, put a comma, then with no space put the index specifying the offset from the start of the first icon starting at 0. This will give you the icon you need from your .exe or .icl.[/edit]
CreateShortCut "$DESKTOP\Starlight.lnk"
"$INSTDIR\Starlight.exe" "$INSTDIR\System\Icons\Library\xp.icl,2"
Not work 🙁
The 3rd parameter of CreateShortcut is for the target files' parameters.
CreateShortCut "$DESKTOP\Starlight.lnk"
"$INSTDIR\Starlight.exe" "" "$INSTDIR\System\Icons\Library\xp.icl" 2
You should take more care when reading the manual.
-Stu
CreateShortCut "$DESKTOP\Starlight.lnk"
"$INSTDIR\Starlight.exe" "" "$INSTDIR\System\Icons\Library\xp.icl" 2
You should take more care when reading the manual.
-Stu
Whoops, should have tried the script 😞.