[cmake-developers] [CMake 0015838]: CPack WIX generator should set top feature to be mandatory

Mantis Bug Tracker mantis at public.kitware.com
Mon Nov 9 10:09:44 EST 2015


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                    
======================================================================



More information about the cmake-developers mailing list