CPackWIX: Support CPACK_COMPONENT_<compName>_DISABLED

Reviewed-by: Nils Gladitz <nilsgladitz@gmail.com>
This commit is contained in:
Michael Stürmer
2016-07-21 16:34:35 +02:00
committed by Nils Gladitz
parent 6f108f84d0
commit ad453f0502
2 changed files with 10 additions and 0 deletions
@@ -86,6 +86,10 @@ void cmWIXFeaturesSourceWriter::EmitFeatureForComponent(
AddAttribute("Display", "hidden");
}
if (component.IsDisabledByDefault) {
AddAttribute("Level", "2");
}
EndElement("Feature");
}