I checked WiX Github and looks like this is not possible today. Once you define a MsiProperty in BURN, the value gets set and passed to the MSI regardless of whether the value is empty or not. Here is a snapshot of the code:
extern "C" HRESULT MsiEngineParsePropertiesFromXml(
__in IXMLDOMNode* pixnPackage,
__out BURN_MSIPROPERTY** prgProperties,
__out DWORD* pcProperties
)
{
HRESULT hr = S_OK;
IXMLDOMNodeList* pixnNodes = NULL;
IXMLDOMNode* pixnNode = NULL;
DWORD cNodes = 0;
BURN_MSIPROPERTY* pProperties = NULL;
// select property nodes
hr = XmlSelectNodes(pixnPackage, L"MsiProperty", &pixnNodes);
ExitOnFailure(hr, "Failed to select property nodes.");
// get property node count
hr = pixnNodes->get_length((long*)&cNodes);
ExitOnFailure(hr, "Failed to get property node count.");
if (cNodes)
{
// allocate memory for properties
pProperties = (BURN_MSIPROPERTY*)MemAlloc(sizeof(BURN_MSIPROPERTY) * cNodes, TRUE);
ExitOnNull(pProperties, hr, E_OUTOFMEMORY, "Failed to allocate memory for MSI property structs.");
// parse property elements
for (DWORD i = 0; i < cNodes; ++i)
{
BURN_MSIPROPERTY* pProperty = &pProperties[i];
hr = XmlNextElement(pixnNodes, &pixnNode, NULL);
ExitOnFailure(hr, "Failed to get next node.");
// @Id
hr = XmlGetAttributeEx(pixnNode, L"Id", &pProperty->sczId);
ExitOnFailure(hr, "Failed to get @Id.");
// @Value
hr = XmlGetAttributeEx(pixnNode, L"Value", &pProperty->sczValue);
ExitOnFailure(hr, "Failed to get @Value.");
// @RollbackValue
hr = XmlGetAttributeEx(pixnNode, L"RollbackValue", &pProperty->sczRollbackValue);
if (E_NOTFOUND != hr)
{
ExitOnFailure(hr, "Failed to get @RollbackValue.");
}
// prepare next iteration
ReleaseNullObject(pixnNode);
}
}
Looks like this will be a new feature in WiX4.0 as mentioned HERE
Now that being said, if you are the author of that MSI then you can check the Property value within your MSI (.wxs) file and set it to a different value if it comes up "empty" by using SetProperty.