[CMake] CPACK_RESOURCE_FILE_WELCOME has no effect with NSIS
Hi all, I would like to package my application using CPACK/NSIS generator. Using the following line: set(CPACK_RESOURCE_FILE_WELCOME ${CMAKE_CURRENT_SOURCE_DIR}/README.txt) has no effect. Indeed, my installer still show at start up the default wellcome message. Looking on the web, I found that this bug was raised some time ago (http://www.kwwidgets.org/Bug/view.php?id=7880nbn=2). Has it been solved since then ? In the meantime, as a workaround, I was thinking about adding explicitely the NSIS commands using CPACK_NSIS_EXTRA_INSTALL_COMMANDS. What do you think about ? thanks for your help Eric -- Eric Pellegrini Calcul Scientifique Institut Laue-Langevin Grenoble, France -- 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
Re: [CMake] CPACK_RESOURCE_FILE_WELCOME has no effect with NSIS - solved
This option is valid only for PackageMaker generator. I was not careful enough when looking at the doc :-[ sorry Eric pellegrini a écrit : Hi all, I would like to package my application using CPACK/NSIS generator. Using the following line: set(CPACK_RESOURCE_FILE_WELCOME ${CMAKE_CURRENT_SOURCE_DIR}/README.txt) has no effect. Indeed, my installer still show at start up the default wellcome message. Looking on the web, I found that this bug was raised some time ago (http://www.kwwidgets.org/Bug/view.php?id=7880nbn=2). Has it been solved since then ? In the meantime, as a workaround, I was thinking about adding explicitely the NSIS commands using CPACK_NSIS_EXTRA_INSTALL_COMMANDS. What do you think about ? thanks for your help Eric -- Eric Pellegrini Calcul Scientifique Institut Laue-Langevin Grenoble, France -- 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