Hi there, I've enjoyed using the new CPack component support[1] to generate funky NSIS installers. However, the generated NSIS installer does not contain the required MSVC (in my case, MSVC 9) redist dll's fuond by InstallRequiredSystemLibraries. The files are found correctly and are, in fact, included in the zip file generated by the ZIP generator.
The install commands issued by InstallRequiredSystemLibraries does not specify any component, and [1] says that: --- CPACK_COMPONENTS_ALL: A list containing the names of all components that should be installed. The presence of this macro indicates that CPack should build a component-based installer. Files associated with any components not listed here or any installation commands not associated with any component will not be installed. --- However, CPack.cmake [2] has the following comment: --- # CMake always generates a component named "Unspecified", which is # used to install everything that doesn't have an explicitly-provided # component. Since these files should always be installed, we'll make # them hidden and required. set(CPACK_COMPONENT_UNSPECIFIED_HIDDEN TRUE) set(CPACK_COMPONENT_UNSPECIFIED_REQUIRED TRUE) --- Do I have to do anything specific (other than include(InstallRequiredSystemLibraries)) to make the NSIS generator include them? I have tried using both 2.6.1 rc13 and yesterdays nightly build. Thanks for listening, \ Thomas [1] http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack [2] http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/CPack.cmake?root=CMake&view=markup _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
