I am trying to extract msi using administrative install in order to create patch, but it is not extracting all the components, I suspect this is due to the conditional install element which works fine in regular install
<Feature Id="SomeFeature" Level="0">
<ComponentGroupRef Id="Somecomponent" />
<ComponentGroupRef Id="Somecomponents" />
<Condition Level="1"><![CDATA[(SOMEPROP = "true") OR (REMOVE ~= "ALL")]]></Condition>
</Feature>
is it possible to use condition element for administrative install? SOMEPROP property value is true by default and is changed on some custom action which i believe wont run in administrative install.
According to the Windows Installer SDK:
A feature with an installation level of 0 (zero) is not installed during any installation, including administrative installations.
You need to reverse your logic so that the feature is installed by default and conditionally disabled.