I am using the C# wrapper for the Windows Installer API from the WIX Toolset. I use the ProductInstallation class to get information about the installed produc
ProductInstallation
Just commenting in case this comes in handy in the future for anyone!
In the case that you only have the GUID or code available, the following site can be used to convert between the two:
https://daysoff.io/flipguid
Hopefully this can save some future headaches!