Failed to get MSI property in UPGRADINGPRODUCTCODE, WIX_UPGRADE_DETECTED
Ignoring the debug strings, it’s easier to see that the buffer handling is incorrect. I would suggest also outputting the return values from MsiGetPropertyA() and the value in dwValue to confirm, but here’s what I think is happening (comments refer to dwValue): char szBuff[1024]; DWORD dwValue = 0; MsiGetPropertyA(hInstall, “UPGRADINGPRODUCTCODE”, szBuff, &dwValue); // passes 0, … Read more