summaryrefslogtreecommitdiff
path: root/packaging/windows
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/windows')
-rwxr-xr-xpackaging/windows/make-translations.sh2
-rw-r--r--packaging/windows/setup.nsi87
2 files changed, 43 insertions, 46 deletions
diff --git a/packaging/windows/make-translations.sh b/packaging/windows/make-translations.sh
index 1d4132397..de8fff283 100755
--- a/packaging/windows/make-translations.sh
+++ b/packaging/windows/make-translations.sh
@@ -2,5 +2,5 @@
for i in `grep -v ^# ../../po/LINGUAS`; do
mkdir -p ../../translations/$i/LC_MESSAGES
- msgfmt -c -o ../../translations/$i/LC_MESSAGES/manaplus.mo ../../po/$i.po
+ msgfmt -c -o ../../translations/$i/LC_MESSAGES/manaverse.mo ../../po/$i.po
done
diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi
index f5ca57644..f7bf573ba 100644
--- a/packaging/windows/setup.nsi
+++ b/packaging/windows/setup.nsi
@@ -3,8 +3,8 @@
; like the old install script.
;
; DLLDIR - directory containing required dlls
-; EXEDIR - directory containing manaplus.exe
-; EXESUFFIX - offset to SRCDIR pointing to a directory containing manaplus.exe
+; EXEDIR - directory containing manaverse.exe
+; EXESUFFIX - offset to SRCDIR pointing to a directory containing manaverse.exe
; PRODUCT_VERSION - software version
; UPX - upx binary name
;
@@ -46,20 +46,20 @@ RequestExecutionLevel admin
!endif
;--- (and without !defines ) ---
-!System "${UPX} --best --crp-ms=999999 --compress-icons=0 --nrv2d ${EXEDIR}\manaplus.exe"
+!System "${UPX} --best --crp-ms=999999 --compress-icons=0 --nrv2d ${EXEDIR}\manaverse.exe"
!define MULTIUSER_INSTALLMODE_COMMANDLINE
!define MULTIUSER_EXECUTIONLEVEL "admin"
!include "MultiUser.nsh"
; HM NIS Edit helper defines
-!define PRODUCT_NAME "ManaPlus"
+!define PRODUCT_NAME "ManaVerse"
!ifndef PRODUCT_VERSION
!define PRODUCT_VERSION "1.1"
!endif
-!define PRODUCT_PUBLISHER "ManaPlus Development Team"
-!define PRODUCT_WEB_SITE "http://manaplus.evolonline.org/"
-!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\manaplus.exe"
+!define PRODUCT_PUBLISHER "ManaVerse Development Team"
+!define PRODUCT_WEB_SITE "http://manaverse.germantmw.de"
+!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\manaverse.exe"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "SHCTX"
@@ -71,9 +71,9 @@ RequestExecutionLevel admin
; MUI Settings
!define MUI_ABORTWARNING
;!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\win-install.ico"
-!define MUI_ICON "${SRCDIR}\data\icons\manaplus.ico"
+!define MUI_ICON "${SRCDIR}\data\icons\manaverse.ico"
;!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\win-uninstall.ico"
-!define MUI_UNICON "${SRCDIR}\data\icons\manaplus.ico"
+!define MUI_UNICON "${SRCDIR}\data\icons\manaverse.ico"
;Language Selection Dialog Settings
;Remember the installer language
@@ -101,13 +101,13 @@ RequestExecutionLevel admin
!define MUI_FINISHPAGE_RUN_FUNCTION RunMana
!define MUI_FINISHPAGE_SHOWREADME 'notepad.exe "$\"$INSTDIR\README$\""'
!define MUI_PAGE_CUSTOMFUNCTION_PRE changeFinishImage
-!define MUI_FINISHPAGE_LINK "Visit ManaPlus website for the latest news, FAQs and support"
-!define MUI_FINISHPAGE_LINK_LOCATION "http://manaplus.evolonline.org/"
+!define MUI_FINISHPAGE_LINK "Visit ManaVerse website for the latest news, FAQs and support"
+!define MUI_FINISHPAGE_LINK_LOCATION "http://manaverse.germantmw.de/"
!insertmacro MUI_PAGE_FINISH
Function RunMana
SetOutPath $INSTDIR
-Exec "$INSTDIR\manaplus.exe"
+Exec "$INSTDIR\manaverse.exe"
FunctionEnd
Function changeFinishImage
@@ -179,7 +179,7 @@ ReserveFile "setup_finish.bmp"
; MUI end ------
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
-OutFile "manaplus-${PRODUCT_VERSION}-win${BITS}.exe"
+OutFile "manaverse-${PRODUCT_VERSION}-win${BITS}.exe"
InstallDir "$PROGRAMFILES\Mana"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
@@ -259,7 +259,7 @@ Section "Core files (required)" SecCore
SetOverwrite ifnewer
SetOutPath "$INSTDIR"
- File "${EXEDIR}\manaplus.exe"
+ File "${EXEDIR}\manaverse.exe"
File "${DLLDIR}\SDL.dll"
File "${DLLDIR}\SDL_image.dll"
; File "${DLLDIR}\SDL_mixer.dll"
@@ -341,7 +341,7 @@ Section "Core files (required)" SecCore
SetOutPath "$INSTDIR\data\help\idx"
File "${SRCDIR}\data\help\idx\*.idx"
SetOutPath "$INSTDIR\data\icons\"
- File "${SRCDIR}\data\icons\manaplus.ico"
+ File "${SRCDIR}\data\icons\manaverse.ico"
SetOutPath "$INSTDIR\data\music"
File "${SRCDIR}\data\music\*.ogg"
SetOutPath "$INSTDIR\data\perserver\default\"
@@ -355,14 +355,14 @@ Section "Create Shortcuts" SecShortcuts
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
CreateDirectory "$SMPROGRAMS\Mana"
- CreateShortCut "$SMPROGRAMS\Mana\ManaPlus.lnk" "$INSTDIR\manaplus.exe"
- CreateShortCut "$SMPROGRAMS\Mana\ManaPlus (no opengl).lnk" "$INSTDIR\manaplus.exe" --no-opengl
- CreateShortCut "$SMPROGRAMS\Mana\ManaPlus (safemode).lnk" "$INSTDIR\manaplus.exe" --safemode
- CreateShortCut "$SMPROGRAMS\Mana\ManaPlus (tests).lnk" "$INSTDIR\manaplus.exe" --tests
- CreateShortCut "$DESKTOP\ManaPlus.lnk" "$INSTDIR\manaplus.exe"
- CreateShortCut "$DESKTOP\ManaPlus (tests).lnk" "$INSTDIR\manaplus.exe" --tests
-
- ${registerExtension} "$INSTDIR\manaplus.exe" ".manaplus" "ManaPlus brandings"
+ CreateShortCut "$SMPROGRAMS\Mana\ManaVerse.lnk" "$INSTDIR\manaverse.exe"
+ CreateShortCut "$SMPROGRAMS\Mana\ManaVerse (no opengl).lnk" "$INSTDIR\manaverse.exe" --no-opengl
+ CreateShortCut "$SMPROGRAMS\Mana\ManaVerse (safemode).lnk" "$INSTDIR\manaverse.exe" --safemode
+ CreateShortCut "$SMPROGRAMS\Mana\ManaVerse (tests).lnk" "$INSTDIR\manaverse.exe" --tests
+ CreateShortCut "$DESKTOP\ManaVerse.lnk" "$INSTDIR\manaverse.exe"
+ CreateShortCut "$DESKTOP\ManaVerse (tests).lnk" "$INSTDIR\manaverse.exe" --tests
+
+ ${registerExtension} "$INSTDIR\manaverse.exe" ".mana" "ManaVerse brandings"
SectionEnd
Section /o "Portable" SecPortable
@@ -377,19 +377,19 @@ Section /o "Debugger" SecDebug
File "${DLLDIR}\libexpat-1.dll"
File "${DLLDIR}\libreadline6.dll"
File "${DLLDIR}\libtermcap.dll"
- File "${EXEDIR}\manaplusd.exe"
+ File "${EXEDIR}\manaversed.exe"
${If} ${SectionIsSelected} ${SecShortcuts}
- CreateShortCut "$SMPROGRAMS\Mana\ManaPlus (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaplusd.exe"' "$INSTDIR\manaplusd.exe"
- CreateShortCut "$DESKTOP\ManaPlus (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaplusd.exe"' "$INSTDIR\manaplusd.exe"
+ CreateShortCut "$SMPROGRAMS\Mana\ManaVerse (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaversed.exe"' "$INSTDIR\manaversed.exe"
+ CreateShortCut "$DESKTOP\ManaVerse (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaversed.exe"' "$INSTDIR\manaversed.exe"
${EndIf}
SectionEnd
Section /o "Profiler" SecProfiler
SetOutPath "$INSTDIR"
- File "${EXEDIR}\manaplusp.exe"
+ File "${EXEDIR}\manaversep.exe"
${If} ${SectionIsSelected} ${SecShortcuts}
- CreateShortCut "$SMPROGRAMS\Mana\ManaPlus (profiler).lnk" "$INSTDIR\manaplusp.exe"
- CreateShortCut "$DESKTOP\ManaPlus (profiler).lnk" "$INSTDIR\manaplusp.exe"
+ CreateShortCut "$SMPROGRAMS\Mana\ManaVerse (profiler).lnk" "$INSTDIR\manaversep.exe"
+ CreateShortCut "$DESKTOP\ManaVerse (profiler).lnk" "$INSTDIR\manaversep.exe"
${EndIf}
SectionEnd
@@ -408,7 +408,6 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${SecCore} "The core program files."
!insertmacro MUI_DESCRIPTION_TEXT ${SecShortcuts} "Create game shortcuts and register extensions."
!insertmacro MUI_DESCRIPTION_TEXT ${SecPortable} "Portable client. (If selected client will work as portable client.)"
- !insertmacro MUI_DESCRIPTION_TEXT ${SecEvol} "Create shortcuts for Evol Online."
!insertmacro MUI_DESCRIPTION_TEXT ${SecTrans} "Translations for the user interface. Uncheck this component to leave it in English."
!insertmacro MUI_DESCRIPTION_TEXT ${SecDebug} "Install debugger for try to detect stability issues."
!insertmacro MUI_DESCRIPTION_TEXT ${SecProfiler} "Install profiler build to detect perfomance issues."
@@ -426,10 +425,10 @@ SectionEnd
Section -Post
WriteUninstaller "$INSTDIR\uninst.exe"
- WriteRegStr SHCTX "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\manaplus.exe"
+ WriteRegStr SHCTX "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\manaverse.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
- WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\manaplus.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\manaverse.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
@@ -446,21 +445,19 @@ Section Uninstall
Delete "$INSTDIR\*.*"
Delete "$SMPROGRAMS\Mana\Uninstall.lnk"
- Delete "$DESKTOP\ManaPlus.lnk"
- Delete "$DESKTOP\ManaPlus (debug).lnk"
- Delete "$DESKTOP\ManaPlus (profiler).lnk"
- Delete "$DESKTOP\ManaPlus (tests).lnk"
- Delete "$SMPROGRAMS\Mana\ManaPlus.lnk"
- Delete "$SMPROGRAMS\Mana\ManaPlus (debug).lnk"
- Delete "$SMPROGRAMS\Mana\ManaPlus (profiler).lnk"
- Delete "$SMPROGRAMS\Mana\ManaPlus (no opengl).lnk"
- Delete "$SMPROGRAMS\Mana\ManaPlus (safemode).lnk"
- Delete "$SMPROGRAMS\Mana\ManaPlus (tests).lnk"
+ Delete "$DESKTOP\ManaVerse.lnk"
+ Delete "$DESKTOP\ManaVerse (debug).lnk"
+ Delete "$DESKTOP\ManaVerse (profiler).lnk"
+ Delete "$DESKTOP\ManaVerse (tests).lnk"
+ Delete "$SMPROGRAMS\Mana\ManaVerse.lnk"
+ Delete "$SMPROGRAMS\Mana\ManaVerse (debug).lnk"
+ Delete "$SMPROGRAMS\Mana\ManaVerse (profiler).lnk"
+ Delete "$SMPROGRAMS\Mana\ManaVerse (no opengl).lnk"
+ Delete "$SMPROGRAMS\Mana\ManaVerse (safemode).lnk"
+ Delete "$SMPROGRAMS\Mana\ManaVerse (tests).lnk"
Delete "$SMPROGRAMS\Mana\Website.lnk"
Delete "$SMPROGRAMS\Mana\Readme.lnk"
Delete "$SMPROGRAMS\Mana\FAQ.lnk"
- Delete "$SMPROGRAMS\Mana\EvolOnline.lnk"
- Delete "$DESKTOP\EvolOnline.lnk"
RMDir "$SMPROGRAMS\Mana"
@@ -472,6 +469,6 @@ Section Uninstall
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
DeleteRegKey SHCTX "${PRODUCT_DIR_REGKEY}"
- ${unregisterExtension} ".manaplus" "ManaPlus brandings"
+ ${unregisterExtension} ".mana" "ManaVerse brandings"
SetAutoClose true
SectionEnd