View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013872CMakeCPackpublic2013-01-23 12:392016-06-10 14:31
ReporterIan Whiting 
Assigned ToKitware Robot 
PriorityurgentSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSWindowsOS Version
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0013872: NSIS welcome page side image cannot be configured
DescriptionIt is not possible to set the MUI_WELCOMEFINISHPAGE_BITMAP through the CMakeLists.txt file.

There seems to be a quick fix, see additional information.
Additional InformationThis can be fixed by adding the following two lines to the NSIS.template.in file:

!define MUI_WELCOMEFINISHPAGE_BITMAP "@CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP@"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "@CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP@"

Then within the CMakeFiles.txt you can set the image using the following:

SET(CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP "<image file>")

However there will be a build problem if CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP is not specified. So additional lines will need to be added to only include it if the variable has been set.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0032148)
Ian Whiting (reporter)
2013-01-24 09:10

There is a work-around of sorts for this that you can do in the meantime. That is:

SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "
  !define MUI_WELCOMEFINISHPAGE_BITMAP \\\"${image-file}" ")
(0042210)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-01-23 12:39 Ian Whiting New Issue
2013-01-24 09:10 Ian Whiting Note Added: 0032148
2016-06-10 14:28 Kitware Robot Note Added: 0042210
2016-06-10 14:28 Kitware Robot Status new => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team