Archive: Icon for my installed app


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??


You can only do that through a shortcut. See CreateShortCut in the documentation.

-Stu


Thanks Afrow


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


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


Thanks Kichik
Its true and works fine