mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-12 18:40:23 +08:00
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>
This commit is contained in:
parent
5f3bd5dbf0
commit
587f10ec47
3
nasm.nsi
3
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}" ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user