MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0015838 | CMake | (No Category) | public | 2015-11-09 10:09 | 2016-05-02 08:30 |
|
Reporter | Mark Stijnman | |
Assigned To | Nils Gladitz | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | CMake 3.3.2 | |
Target Version | | Fixed in Version | CMake 3.5 | |
|
Summary | 0015838: 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'. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | CMakeLists.txt (192) 2015-11-09 10:09 https://public.kitware.com/Bug/file/5569/CMakeLists.txt |
|
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 |