Bumped versnion in the name of userdata dir...

...and removed some cruft in windows installer script.
This commit is contained in:
Sergey Popov 2009-06-29 09:29:04 +00:00
parent 1d17374b7a
commit 493df6d073

11
packaging/windows/Wesnoth.nsi.in Normal file → Executable file
View File

@ -24,7 +24,7 @@
;Variables
Var StartMenuFolder
!define UserdataDir Wesnoth1.6
!define UserdataDir Wesnoth1.7
Var UserdataFlags
;Userdata page variables
@ -161,13 +161,6 @@ Section "Battle for Wesnoth" BfWSection
%NSIS_INSTALL_FILES
; install python stuff
SetOutPath "$INSTDIR\Lib"
File /nonfatal /r /x .* /x *.pyc /x *.pyo Lib\*.*
SetOutPath "$INSTDIR\DLLs"
File /nonfatal /r /x .* DLLs\*.*
SetOutPath "$INSTDIR"
;Store installation folder
@ -255,8 +248,6 @@ FunctionEnd
Section "Uninstall"
RMDir /r "$INSTDIR\Lib"
RMDir /r "$INSTDIR\DLLs"
%NSIS_UNINSTALL_FILES
Delete "$INSTDIR\wesnoth_editor-icon.ico"
RMDir /r "$INSTDIR\manual"