BUG: Compression must be set before any output is created.

This commit is contained in:
Brad King 2006-10-13 15:04:18 -04:00
parent 8a4c70cf6d
commit bf74cd9d83
1 changed files with 10 additions and 10 deletions

View File

@ -26,6 +26,16 @@
;Default installation folder
InstallDir "$PROGRAMFILES\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
;--------------------------------
;General
;Name and file
Name "@CPACK_PACKAGE_INSTALL_DIRECTORY@"
OutFile "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
;Set compression
SetCompressor @CPACK_NSIS_COMPRESSOR@
;--------------------------------
; determine admin versus local install
; Is install for "AllUsers" or "JustMe"?
@ -71,16 +81,6 @@ Function .onInit
noOptionsPage:
FunctionEnd
;--------------------------------
;General
;Name and file
Name "@CPACK_PACKAGE_INSTALL_DIRECTORY@"
OutFile "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
;Set compression
SetCompressor @CPACK_NSIS_COMPRESSOR@
;--------------------------------
;Interface Settings