I need to install only certain components, but avoid showing
the components page in cpack-generated NSIS installer.
# Only install the main program and vcredist.
set(CPACK_COMPONENTS_ALL core vcredist)
# This installs dlls as "system_dlls" component and sets *MSVC* variables
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
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.
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
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
Follow this link to subscribe/unsubscribe: