[CMake] How to change the sidebar image with cpack?
NoRulez
norulez at me.com
Sat Apr 23 15:30:43 EDT 2011
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: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] 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 dont know how to
use this with cpack.
Much thanks in advance
Best Regards
NoRulez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110423/628daabf/attachment.htm>
More information about the CMake
mailing list