The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15838 
====================================================================== 
Reported By:                Mark Stijnman
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15838
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-11-09 10:09 EST
Last Modified:              2015-11-09 10:09 EST
====================================================================== 
Summary:                    CPack WIX generator should set top feature to be
mandatory
Description: 
The top-level feature that the WIX generator creates, ProductFeature, should be
mandatory, and should therefore have attribute Absent="disallow". Otherwise, the
user can deselect it, which will also deselect all features below it - including
any CPack components that were set to REQUIRED. Besides, it makes no sense to
allow the user to install nothing.

Steps to Reproduce: 
Run the attached CMakeLists.txt through cmake, then cpack. The resulting .msi
will correctly not allow the user to deselect required component 'comp1', but
they can still deselect everything by deselecting 'Product'. 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-11-09 10:09 Mark Stijnman  New Issue                                    
2015-11-09 10:09 Mark Stijnman  File Added: CMakeLists.txt                    
======================================================================

-- 

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:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to