You can set the installer properties in the merge modules using this format:
<property_name>.<module_GUID>
For instance:
CONDITION_PROPERTY.32D73316_E513_43C3_99F5_381A4B5F0A78
In your installer, you can try using a custom action to set the property used in the state of the merge module.
A custom action element might look like this:
<CustomAction Id="SetMsmProperty" Return="check" Property="CONDITION_PROPERTY.32D73316_E513_43C3_99F5_381A4B5F0A78" Value="myValue" />
InstallExecuteSequence → AppSearch, InstallExecuteSequence:
<InstallExecuteSequence>
<Custom Action="SetMsmProperty" After="AppSearch">NOT Installed</Custom>
</InstallExecuteSequence>
wix: