From 8aa73c084030db1f7b6f38ced03a567f845a4582 Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Sat, 4 Apr 2009 14:38:38 +0000 Subject: [PATCH] Added start menu shortcuts for changelogs and license. --- packaging/windows/Wesnoth.nsi.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packaging/windows/Wesnoth.nsi.in b/packaging/windows/Wesnoth.nsi.in index c19026893b0..56876f9a9eb 100644 --- a/packaging/windows/Wesnoth.nsi.in +++ b/packaging/windows/Wesnoth.nsi.in @@ -190,6 +190,9 @@ Section "Battle for Wesnoth" BfWSection CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Multiplayer server.lnk" "$INSTDIR\wesnothd.exe" CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Manual.lnk" "$INSTDIR\manual\manual.en.html" CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Uninstall.lnk" "$INSTDIR\Uninstall.exe" + CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Changelog.lnk" "$INSTDIR\changelog.txt" + CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Player's changelog.lnk" "$INSTDIR\players_changelog.txt" + CreateShortCut "$SMPROGRAMS\$StartMenuFolder\License.lnk" "$INSTDIR\COPYING.txt" !insertmacro MUI_STARTMENU_WRITE_END @@ -264,6 +267,9 @@ Section "Uninstall" !insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder + Delete "$SMPROGRAMS\$StartMenuFolder\License.lnk" + Delete "$SMPROGRAMS\$StartMenuFolder\Player's changelog.lnk" + Delete "$SMPROGRAMS\$StartMenuFolder\Changelog.lnk" Delete "$SMPROGRAMS\$StartMenuFolder\Uninstall.lnk" Delete "$SMPROGRAMS\$StartMenuFolder\Manual.lnk" Delete "$SMPROGRAMS\$StartMenuFolder\Multiplayer server.lnk"