Author: loonycyborg
Date: Tue Oct  7 11:22:25 2008
New Revision: 29939

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29939&view=rev
Log:
Corrected some paths in NSIS script.

Modified:
    trunk/packaging/windows/Wesnoth.nsi.in

Modified: trunk/packaging/windows/Wesnoth.nsi.in
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/packaging/windows/Wesnoth.nsi.in?rev=29939&r1=29938&r2=29939&view=diff
==============================================================================
--- trunk/packaging/windows/Wesnoth.nsi.in (original)
+++ trunk/packaging/windows/Wesnoth.nsi.in Tue Oct  7 11:22:25 2008
@@ -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 @@
   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 @@
     ;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"


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to