Hi, I need to install only certain components, but avoid showing the components page in cpack-generated NSIS installer.
I have: # Only install the main program and vcredist. set(CPACK_COMPONENTS_ALL core vcredist) set(CMAKE_INSTALL_SYSTEM_RUNTIME_COMPONENT "system_dlls") # This installs dlls as "system_dlls" component and sets *MSVC* variables include(InstallRequiredSystemLibraries) install(PROGRAMS "${MSVC_REDIST_DIR}/vcredist_${CMAKE_MSVC_ARCH}.exe" COMPONENT vcredist) The main problem is that InstallRequiredSystemLibraries unconditionally installs the dlls which should not be installed in case of NSIS. However, I need to include it because it provides the vcredist location. So, using CPACK_COMPONENTS_ALL, I avoid installing "system_dlls" component. However, NSIS installer shows a "Components" page which should not be shown. So, is there any way to disable it? So far I've only found CPACK_MONOLITHIC_INSTALL, but it causes all the components to install. Thanks, Alexander -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake