View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015838CMake(No Category)public2015-11-09 10:092016-05-02 08:30
ReporterMark Stijnman 
Assigned ToNils Gladitz 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 3.3.2 
Target VersionFixed in VersionCMake 3.5 
Summary0015838: CPack WIX generator should set top feature to be mandatory
DescriptionThe 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 ReproduceRun 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'.
TagsNo tags attached.
Attached Filestxt file icon CMakeLists.txt [^] (192 bytes) 2015-11-09 10:09 [Show Content]

 Relationships

  Notes
(0039856)
Nils Gladitz (developer)
2015-11-10 09:36

Fixed in master: https://cmake.org/gitweb?p=cmake.git;a=commit;h=d3625b72 [^]
(0039858)
Mark Stijnman (reporter)
2015-11-10 10:26

Thanks, it works as expected now.
(0040957)
Robert Maynard (manager)
2016-05-02 08:30

Closing resolved issues that have not been updated in more than 4 months.

 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
2015-11-09 10:16 Nils Gladitz Assigned To => Nils Gladitz
2015-11-09 10:16 Nils Gladitz Status new => assigned
2015-11-10 09:36 Nils Gladitz Note Added: 0039856
2015-11-10 09:36 Nils Gladitz Status assigned => resolved
2015-11-10 09:36 Nils Gladitz Fixed in Version => CMake 3.5
2015-11-10 09:36 Nils Gladitz Resolution open => fixed
2015-11-10 10:26 Mark Stijnman Note Added: 0039858
2016-05-02 08:30 Robert Maynard Note Added: 0040957
2016-05-02 08:30 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team