[cmake-developers] [CMake 0013872]: NSIS welcome page side image cannot be configured

Mantis Bug Tracker mantis at public.kitware.com
Wed Jan 23 12:39:34 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13872 
====================================================================== 
Reported By:                Ian Whiting
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13872
Category:                   CPack
Reproducibility:            always
Severity:                   feature
Priority:                   urgent
Status:                     new
====================================================================== 
Date Submitted:             2013-01-23 12:39 EST
Last Modified:              2013-01-23 12:39 EST
====================================================================== 
Summary:                    NSIS welcome page side image cannot be configured
Description: 
It 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 Information: 
This 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-01-23 12:39 Ian Whiting    New Issue                                    
======================================================================




More information about the cmake-developers mailing list