Merge topic 'wix-toplevel-feature-required'
d3625b72
CPackWIX: Don't allow users to deselect the top-level feature (#15838)
This commit is contained in:
commit
3cb726371f
|
@ -482,6 +482,7 @@ bool cmCPackWIXGenerator::CreateWiXSourceFiles()
|
|||
featureDefinitions.BeginElement("Feature");
|
||||
featureDefinitions.AddAttribute("Id", "ProductFeature");
|
||||
featureDefinitions.AddAttribute("Display", "expand");
|
||||
featureDefinitions.AddAttribute("Absent", "disallow");
|
||||
featureDefinitions.AddAttribute("ConfigurableDirectory", "INSTALL_ROOT");
|
||||
|
||||
std::string cpackPackageName;
|
||||
|
|
Loading…
Reference in New Issue