Archive: Creating Desktop Shortcut - Success!

Creating Desktop Shortcut - Success!
I have to admit I was very pleasantly surprised at just how easy it was for me to add a Desktop Shortcut to a "Menu Manager" program one of my coders wrote.

I just needed to add a few lines to the end of my existing installer script(s), since he already included an .ico file in his MM utility program:

Section "Start Menu Shortcuts"
SetOutPath "$INSTDIR\Milviz"
CreateShortCut "$DESKTOP\MV_MM.lnk" "$INSTDIR\Milviz\MV_MM.exe" ""

I wish everything I had to do was that easy! :cool:

If you want to use the ico file, you might want to set that as the shortcut's icon. Now you're just using the first icon in the exe.

Also, maybe Section "Desktop shortcut"?