Add startmenu folder with several items

Added a startmenu folder with the following items:
* Dino launcher
* License
* Link to Dino website
* Uninstaller
This commit is contained in:
Martin Dosch 2020-05-05 22:20:49 +02:00
parent 70900cd73e
commit 48619ee84d

View file

@ -40,14 +40,21 @@ File input/plugins/*
WriteUninstaller $INSTDIR\uninstaller.exe
# Create a shortcut for startmenu
CreateShortcut "$SMPROGRAMS\dino.lnk" "$INSTDIR\bin\dino.exe" "" "$INSTDIR\logo.ico"
CreateDirectory "$SMPROGRAMS\Dino"
CreateShortcut "$SMPROGRAMS\Dino\Dino.lnk" "$INSTDIR\bin\dino.exe" "" "$INSTDIR\logo.ico"
CreateShortcut "$SMPROGRAMS\Dino\Uninstaller.lnk" "$INSTDIR\uninstaller.exe"
CreateShortcut "$SMPROGRAMS\Dino\License.lnk" "$INSTDIR\LICENSE" "" "notepad.exe" 0
CreateShortcut "$SMPROGRAMS\Dino\Dino website.lnk" "https://dino.im" "" "$INSTDIR\logo.ico"
# default section end
SectionEnd
# Uninsaller section
Section "Uninstall"
# Delete startmenu folder
RMDir /r "$SMPROGRAMS\Dino"
# Always delete uninstaller first
Delete $INSTDIR\uninstaller.exe