From bf74cd9d832c065c348142fc6132859e7da6396b Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 13 Oct 2006 15:04:18 -0400 Subject: [PATCH] BUG: Compression must be set before any output is created. --- Modules/NSIS.template.in | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Modules/NSIS.template.in b/Modules/NSIS.template.in index eea59c3a9..dc4331a72 100644 --- a/Modules/NSIS.template.in +++ b/Modules/NSIS.template.in @@ -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