I am in need of a search that gets the particular product code of the previously installed MSI using the upgrade code.
I know this works with the Upgrades feature, but I can't use it for this case because the old .MSIs were not built correctly and don't play well when they run in upgrade mode. In a nutshell they only work for install and uninstall modes.
As such I've opted to manually uninstall the previous .MSI's with the 'Launch EXE With Working Directory' Custom Action. This works great as they simply translate to misexec /x {ca29811c-01c0-44a5-9228-6e6a57e6683e} /qn
However it would be more valuable to able to find the product code dynamically so I only have to have ONE custom action rather than X for each product
misexec /x [product_code_property] /qn
Here are my searches
Is this possible?
P.S. These aren't the ACTUAL product codes for my installer