Hello,

 

I think I figured it out, for those how also want to know how it is done,
add the following lines to your CPack configuration (and replace
${SIDEBAR_IMAGE} with your image):

 

SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE

        "!define MUI_WELCOMEFINISHPAGE_BITMAP \\\"${SIDEBAR_IMAGE}\\\")

 

You must only set ${SIDEBAR_IMAGE} as followed:

 

SET(SIDEBAR_IMAGE
${CMAKE_SOURCE_DIR}/install${LAST_PATH_DELIMITER}sidebar.bmp

 

Best Regards

NoRulez

 

Von: [email protected] [mailto:[email protected]] Im Auftrag von
NoRulez
Gesendet: Samstag, 23. April 2011 18:06
An: 'CMake MailingList'
Betreff: [CMake] How to change the sidebar image with cpack?

 

Hello,

 

I successfully changed the header image of the installer with

SET(CPACK_PACKAGE_ICON …)

 

but how can I change the sidebar image?

I found something like MUI_WELCOMEFINISHPAGE_BITMAP but I don’t know how to
use this with cpack.

 

Much thanks in advance

 

Best Regards

NoRulez

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to