summaryrefslogtreecommitdiffstats
path: root/Modules/NSIS.template.in
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2009-07-16 15:48:30 (GMT)
committerDavid Cole <david.cole@kitware.com>2009-07-16 15:48:30 (GMT)
commit85733c17c5665df98426ab9642b2156eca8316c7 (patch)
tree16018829636b688b2a2b5259fe6ae4c843deb6c9 /Modules/NSIS.template.in
parent611c120ad6d3f768d5a63f5a1d15f87ef92f8600 (diff)
downloadCMake-85733c17c5665df98426ab9642b2156eca8316c7.zip
CMake-85733c17c5665df98426ab9642b2156eca8316c7.tar.gz
CMake-85733c17c5665df98426ab9642b2156eca8316c7.tar.bz2
BUG: Re-fix issue #8682. Use new variable CPACK_NSIS_PACKAGE_NAME in appropriate places rather than CPACK_NSIS_DISPLAY_NAME. CPACK_NSIS_DISPLAY_NAME is the Add/Remove control panel's description string for the installed package. Using it as the "Name" of the NSIS installer package made the CMake installer itself use really long strings in the installer GUI. This fix still allows for the original intent of the first fix for #8682 -- the ability to separate the installer name from the default install directory, but it uses a new/different variable to achieve the separation.
Diffstat (limited to 'Modules/NSIS.template.in')
-rw-r--r--Modules/NSIS.template.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/NSIS.template.in b/Modules/NSIS.template.in
index 983ff15..8b9608e 100644
--- a/Modules/NSIS.template.in
+++ b/Modules/NSIS.template.in
@@ -31,7 +31,7 @@
;General
;Name and file
- Name "@CPACK_NSIS_DISPLAY_NAME@"
+ Name "@CPACK_NSIS_PACKAGE_NAME@"
OutFile "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
;Set compression
@@ -701,7 +701,7 @@ SectionEnd
;--------------------------------
; Create custom pages
Function InstallOptionsPage
- !insertmacro MUI_HEADER_TEXT "Install Options" "Choose options for installing @CPACK_NSIS_DISPLAY_NAME@"
+ !insertmacro MUI_HEADER_TEXT "Install Options" "Choose options for installing @CPACK_NSIS_PACKAGE_NAME@"
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "NSIS.InstallOptions.ini"
FunctionEnd