I want to create a shortcut with a personal icon on the desktop. I create the shortcut with these code:
But how can I decide the icon of the shortcut???CreateShortCut "$DESKTOP\name.lnk" "$INSTDIR\path"
Thanks for helping!
6 posts
But how can I decide the icon of the shortcut???CreateShortCut "$DESKTOP\name.lnk" "$INSTDIR\path"
Originally posted by Red WineIMHO doesn't 🙁 Forum is full of repeating posts. Maybe some cleanup would be helpful...
Nobody wants to read the docs nowadays?
The 4th argument is the icon file, the 5th argument is the index of the icon.CreateShortCut "$SMPROGRAMS\My Company\My Program.lnk" "$INSTDIR\My Program.exe" "some command line parameters" "$INSTDIR\My Program.exe" 2