changing icon picture on desktop
Hi guys.I just want know how I can put my own icon on the desktop.
Please help.
Thanks so much
Archive: changing icon picture on desktop
changing icon picture on desktop
Hi guys.I just want know how I can put my own icon on the desktop.
Please help.
Thanks so much
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
For the best use the icons (.ico) rather then bitmap (.bmp).
For your bmp this will look as:
CreateShortCut "$DESKTOP\My Program.lnk" "$INSTDIR\My Program.exe" "" "c:\Doorbell.bmp"
CreateShortCut "$DESKTOP\My Program.lnk" "$INSTDIR\My Program.exe" "" "c:\Doorbell.dll" ${ic_ind}
Deleted. Double post. :confused: