Desktop Shotcuts
Please forgive my ignorance, especially if this is a really stupid question.
How do I conditionally create desktop shortcuts for an installed application?
Thanks,
Ben
Archive: Desktop Shotcuts
Desktop Shotcuts
Please forgive my ignorance, especially if this is a really stupid question.
How do I conditionally create desktop shortcuts for an installed application?
Thanks,
Ben
Hi!
To create a shortcut on the desktop you should use:
CreateShortCut "$DESKTOP\myApp.lnk" "$INSTDIR\myApp.exe"
StrCmp $1 "create shortcut" 0 dontCreate
CreateShortCut "$DESKTOP\myApp.lnk" "$INSTDIR\myApp.exe"
dontCreate:
Thanks, I was looking for the right thing, but the syntax I was using to look was wrong.
This is exactly what I needed.
Ben