summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorBernd Wachter <bwachter-tmw@lart.info>2010-01-31 20:23:23 +0100
committerBernd Wachter <bwachter-tmw@lart.info>2010-01-31 20:23:23 +0100
commit86522166e082b2defaea541747ecdce0f1149fe5 (patch)
tree95559c93c9bd34dcb6d0c7e5110a3e3c1d93a201 /packaging
parentd19f23cac4eb2af42a8515873671625ccfb735c5 (diff)
downloadmana-client-86522166e082b2defaea541747ecdce0f1149fe5.tar.gz
mana-client-86522166e082b2defaea541747ecdce0f1149fe5.tar.bz2
mana-client-86522166e082b2defaea541747ecdce0f1149fe5.tar.xz
mana-client-86522166e082b2defaea541747ecdce0f1149fe5.zip
Remove support for building/packaging two binaries
Diffstat (limited to 'packaging')
-rw-r--r--packaging/windows/setup.nsi30
1 files changed, 1 insertions, 29 deletions
diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi
index 6c0eafe5..5a8513c5 100644
--- a/packaging/windows/setup.nsi
+++ b/packaging/windows/setup.nsi
@@ -3,9 +3,8 @@
; like the old install script.
;
; DLLDIR - directory containing required dlls
-; EXEDIR - directory containing mana.exe (and maybe mana-ea.exe)
+; EXEDIR - directory containing mana.exe
; EXESUFFIX - offset to SRCDIR pointing to a directory containing mana.exe
-; COMBINED_BUILD - set to one to include mana.exe and mana-ea.exe
; PRODUCT_VERSION - software version
; UPX - upx binary name
;
@@ -38,9 +37,6 @@ SetCompressor /SOLID lzma
;--- (and without !defines ) ---
!System "${UPX} --best --crp-ms=999999 --compress-icons=0 --nrv2d ${EXEDIR}\mana.exe"
-!ifdef COMBINED_BUILD
- !System "${UPX} --best --crp-ms=999999 --compress-icons=0 --nrv2d ${EXEDIR}\mana-ea.exe"
-!endif
; HM NIS Edit helper defines
!define PRODUCT_NAME "Mana"
@@ -50,9 +46,6 @@ SetCompressor /SOLID lzma
!define PRODUCT_PUBLISHER "Mana Development Team"
!define PRODUCT_WEB_SITE "http://manasource.org"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\mana.exe"
-!ifdef COMBINED_BUILD
-!define PRODUCT_DIR_REGKEY_EA "Software\Microsoft\Windows\CurrentVersion\App Paths\mana-ea.exe"
-!endif
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
@@ -173,9 +166,6 @@ Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "mana-${PRODUCT_VERSION}-win32.exe"
InstallDir "$PROGRAMFILES\Mana"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
-!ifdef COMBINED_BUILD
- InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY_EA}" ""
-!endif
ShowInstDetails show
ShowUnInstDetails show
@@ -192,10 +182,6 @@ Section "Core files (required)" SecCore
CreateDirectory "$SMPROGRAMS\Mana"
CreateShortCut "$SMPROGRAMS\Mana\Mana.lnk" "$INSTDIR\mana.exe"
CreateShortCut "$DESKTOP\Mana.lnk" "$INSTDIR\mana.exe"
- !ifdef COMBINED_BUILD
- CreateShortCut "$SMPROGRAMS\Mana\Mana (Eathena).lnk" "$INSTDIR\mana-ea.exe"
- CreateShortCut "$DESKTOP\Mana (Eathena).lnk" "$INSTDIR\mana-ea.exe"
- !endif
CreateDirectory "$INSTDIR\data"
CreateDirectory "$INSTDIR\data\fonts"
CreateDirectory "$INSTDIR\data\graphics"
@@ -209,9 +195,6 @@ Section "Core files (required)" SecCore
SetOutPath "$INSTDIR"
File "${EXEDIR}\mana.exe"
- !ifdef COMBINED_BUILD
- File "${EXEDIR}\mana-ea.exe"
- !endif
File "${DLLDIR}\*.dll"
File "${SRCDIR}\AUTHORS"
File "${SRCDIR}\COPYING"
@@ -273,10 +256,6 @@ Section -Post
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}"
- !ifdef COMBINED_BUILD
- WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\mana-ea.exe"
- WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\mana-ea.exe"
- !endif
SectionEnd
Function un.onInit
@@ -291,10 +270,6 @@ Section Uninstall
Delete "$SMPROGRAMS\Mana\Uninstall.lnk"
Delete "$DESKTOP\Mana.lnk"
Delete "$SMPROGRAMS\Mana\Mana.lnk"
- !ifdef COMBINED_BUILD
- Delete "$DESKTOP\Mana (Eathena).lnk"
- Delete "$SMPROGRAMS\Mana\Mana (Eathena).lnk"
- !endif
Delete "$SMPROGRAMS\Mana\Website.lnk"
Delete "$SMPROGRAMS\Mana\Readme.lnk"
Delete "$SMPROGRAMS\Mana\FAQ.lnk"
@@ -309,8 +284,5 @@ Section Uninstall
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
- !ifdef COMBINED_BUILD
- DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
- !endif
SetAutoClose true
SectionEnd