summaryrefslogtreecommitdiff
path: root/nasm.nsi
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2009-09-23 21:14:32 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2009-09-23 21:14:32 +0400
commit587f10ec472b2e2364c56193d37a7253a3e59b29 (patch)
tree4763e8ec1d97b50723c589d41471858f37134fcb /nasm.nsi
parent5f3bd5dbf09c4ff4a9d35d53dff2705fc2afc1b6 (diff)
downloadnasm-587f10ec472b2e2364c56193d37a7253a3e59b29.tar.gz
nasm-587f10ec472b2e2364c56193d37a7253a3e59b29.tar.bz2
nasm-587f10ec472b2e2364c56193d37a7253a3e59b29.zip
nasm.nsi: set compressor before MUI macros
MULTIUSER_MUI may set own compressor so we need to set it earlies to success. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'nasm.nsi')
-rw-r--r--nasm.nsi3
1 files changed, 2 insertions, 1 deletions
diff --git a/nasm.nsi b/nasm.nsi
index 70130d8..f0e6f6f 100644
--- a/nasm.nsi
+++ b/nasm.nsi
@@ -32,6 +32,8 @@
!define PACKAGE_NAME "${PRODUCT_NAME} ${VERSION}"
!define PACKAGE_SHORT_NAME "${PRODUCT_SHORT_NAME}-${VERSION}"
+SetCompressor lzma
+
!define MULTIUSER_EXECUTIONLEVEL Highest
!define MULTIUSER_MUI
!define MULTIUSER_INSTALLMODE_COMMANDLINE
@@ -47,7 +49,6 @@
;Name and file
Name "${PACKAGE_NAME}"
OutFile "${PRODUCT_SHORT_NAME}-installer.exe"
-SetCompressor lzma
;Get installation folder from registry if available
InstallDirRegKey HKCU "Software\${PRODUCT_SHORT_NAME}" ""