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
Desktop Shotcuts
3 posts
Hi!
To create a shortcut on the desktop you should use:
KiCHiK
To create a shortcut on the desktop you should use:
If you want it to be conditional write:CreateShortCut "$DESKTOP\myApp.lnk" "$INSTDIR\myApp.exe"
You could have understood all of the above from the documentation.StrCmp $1 "create shortcut" 0 dontCreate
CreateShortCut "$DESKTOP\myApp.lnk" "$INSTDIR\myApp.exe"
dontCreate:
KiCHiK
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
This is exactly what I needed.
Ben