Hi guys.I just want know how I can put my own icon on the desktop.
Please help.
Thanks so much
changing icon picture on desktop
5 posts
Maybe CreateShortCut function help you. I find this example in NSIS documentation:
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"
how
could you please send me an example dood.That looks realy confusing.Lets say my icons name is Doorbell.bmp
Thanx dood
could you please send me an example dood.That looks realy confusing.Lets say my icons name is Doorbell.bmp
Thanx dood
For the best use the icons (.ico) rather then bitmap (.bmp).
For your bmp this will look as:
Probably you quicker has found their own answers if used "Search" with filter, for example icon, or shortcut, or CreateShortCut. There has found and examples.
For your bmp this will look as:
If use dll with large number icon.
CreateShortCut "$DESKTOP\My Program.lnk" "$INSTDIR\My Program.exe" "" "c:\Doorbell.bmp"
where ic_ind - a number of the icon in dll
CreateShortCut "$DESKTOP\My Program.lnk" "$INSTDIR\My Program.exe" "" "c:\Doorbell.dll" ${ic_ind}
Probably you quicker has found their own answers if used "Search" with filter, for example icon, or shortcut, or CreateShortCut. There has found and examples.
Deleted. Double post. 😕