applied patch #1334155 - zip2exe: checkbox for solid compression
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4336 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d6145f7e0f
commit
a9c8f27cb3
4 changed files with 33 additions and 17 deletions
|
@ -5,12 +5,19 @@ OutFile "${ZIP2EXE_OUTFILE}"
|
|||
|
||||
AllowRootDirInstall true
|
||||
|
||||
|
||||
!ifdef ZIP2EXE_COMPRESSOR_SOLID
|
||||
!define SETCOMPRESSOR_SWITCH /SOLID
|
||||
!else
|
||||
!define SETCOMPRESSOR_SWITCH
|
||||
!endif
|
||||
|
||||
!ifdef ZIP2EXE_COMPRESSOR_ZLIB
|
||||
SetCompressor zlib
|
||||
SetCompressor ${SETCOMPRESSOR_SWITCH} zlib
|
||||
!else ifdef ZIP2EXE_COMPRESSOR_BZIP2
|
||||
SetCompressor bzip2
|
||||
SetCompressor ${SETCOMPRESSOR_SWITCH} bzip2
|
||||
!else ifdef ZIP2EXE_COMPRESSOR_LZMA
|
||||
SetCompressor lzma
|
||||
SetCompressor ${SETCOMPRESSOR_SWITCH} lzma
|
||||
!endif
|
||||
|
||||
!ifdef ZIP2EXE_INSTALLDIR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue