summaryrefslogtreecommitdiff
path: root/packaging/windows/tmw.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/windows/tmw.nsi')
-rw-r--r--packaging/windows/tmw.nsi6
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/windows/tmw.nsi b/packaging/windows/tmw.nsi
index 472255a91..536b98f62 100644
--- a/packaging/windows/tmw.nsi
+++ b/packaging/windows/tmw.nsi
@@ -37,6 +37,10 @@ RequestExecutionLevel admin
!define DLLDIR ${SRCDIR}/dll
!endif
+!ifndef BITS
+ !define BITS 32
+!endif
+
;--- (and without !defines ) ---
!System "${UPX} --best --crp-ms=999999 --compress-icons=0 --nrv2d ${EXEDIR}\manaplus.exe"
@@ -170,7 +174,7 @@ ReserveFile "setup_finish.bmp"
; MUI end ------
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
-OutFile "tmw-${PRODUCT_VERSION}-win32.exe"
+OutFile "tmw-${PRODUCT_VERSION}-win${BITS}.exe"
InstallDir "$PROGRAMFILES\The Mana World"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show