Skip to content
⌘ NSIS Forum Archive

Icon for my installed app

6 posts

Boyito#

Icon for my installed app

In the past, when I used IS for create my installer ive an option to set an external .ico file for my installed App.exe
Is there a way to do the same in NSIS??
Boyito#
Sorry but i dont unsertand the sintaxis
The sample in documentation say

CreateShortCut "$SMPROGRAMS\My Company\My
Program.lnk" "$INSTDIR\My Program.exe" \
"some command line parameters" "$INSTDIR\My Program.exe" 2 SW_SHOWNORMAL \
ALT|CTRL|SHIFT|F5 "a description"

And this is my code
CreateShortCut "$DESKTOP\MyApp.lnk" "$INSTDIR\MyApp.exe" "$INSTDIR\Graphics\MyAppIcon.ico"

Where is the mistake?? because it doesnt work

TIA
kichik#
You've skipped the command line parameters. The fourth parameter is the icon, not the third.