I want to deactivate the CM_C_dev feature by default (CPACK_WIX seems to ignore my set(CPACK_COMPONENT_DEV_DISABLED ON) ). The user should be able to activate it if he/she wants that. I know how I can do it with WIX itself (handmade), but I have big troubles to inject that into the cpack_wix flow.
I have to add Level=”2” to the Feature with the Id=”CM_C_DEV” like
<Feature Id="CM_C_dev" Title="Development" Description=" Development " Level=”2”/>
or add a property (as value) like
<Feature Id="CM_C_dev" Title="Development" Description=" Development ">DISABLE_FEATUREA</Feature>
I’ve tried the CPACK_WIX_PATCH function, but I’m only able to add something to the ProductRoot feature (ID=”ProductFeature”) via