Commit 32c8635a authored by Ludovic Fauvet's avatar Ludovic Fauvet

nsis: add a desktop shortcut (fixes #75)

parent f3f426fa
......@@ -92,6 +92,11 @@ Section "Start Menu Shortcuts"
SectionEnd
Section "Desktop Shortcut"
CreateShortCut "$DESKTOP\@PROJECT_NAME_LONG@.lnk" "$INSTDIR\vlmc.exe" "" "$INSTDIR\vlmc.ico" 0
SectionEnd
;--------------------------------
; Uninstaller sections
......@@ -125,6 +130,7 @@ Section "Uninstall"
; Remove shortcuts, if any
Delete "$SMPROGRAMS\@PROJECT_NAME_LONG@\*.*"
Delete "$DESKTOP\@PROJECT_NAME_LONG@.lnk"
; Remove directories used
RMDir "$SMPROGRAMS\@PROJECT_NAME_LONG@"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment