Corrected some paths in NSIS script.

This commit is contained in:
Sergey Popov 2008-10-07 09:22:25 +00:00
parent 7479c4ad88
commit 01919680b5

View file

@ -56,7 +56,7 @@
!insertmacro MUI_PAGE_INSTFILES
!define MUI_FINISHPAGE_RUN wesnoth.exe
!define MUI_FINISHPAGE_RUN $INSTDIR\wesnoth.exe
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
@ -141,6 +141,7 @@ Section "Battle for Wesnoth" BfWSection
File /r /x .* doc\manual\styles
File /r /x .* doc\manual\images
SetOutPath "$INSTDIR"
File packaging\windows\wesnoth_editor-icon.ico
%NSIS_INSTALL_FILES
@ -156,7 +157,7 @@ Section "Battle for Wesnoth" BfWSection
;Create shortcuts
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Battle for Wesnoth.lnk" "$INSTDIR\wesnoth.exe"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Map editor.lnk" "$INSTDIR\wesnoth.exe" "-e" "wesnoth_editor-icon.ico"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Map editor.lnk" "$INSTDIR\wesnoth.exe" "-e" "$INSTDIR\wesnoth_editor-icon.ico"
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"