I have found my answer. The markup required for this condition was as follows:
<Custom Action="ThingToDoIfFeatureSelected" Before="InstallFinalize">
<![CDATA[ADDLOCAL >< "MyFeatureName"]]>
</Custom>
ADDLOCAL , . , , ><, , , true, . CDATA ><. >< ><
, : InstallDefault="local". , ADDLOCAL, . , , :
<Custom Action="ThingToDoIfFeatureSelected" Before="InstallFinalize">
<![CDATA[ADDLOCAL >< "MyFeatureName" OR ADDSOURCE >< "MyFeatureName" OR ADDDEFAULT >< "MyFeatureName"]]>
</Custom>
: , "-". &MyFeatureName=3 , , ( , ). , MyFeatureName=2 , ( , ).
.