How to extract ProductCode from msi package? I want to use it later to uninstall msi via msiexec as described here
I can think of dozens of ways to do it. What programming languages do you currently use and/or comfortable with?
Take a look at
You could use WiRunSQL.vbs ( provided in the Platform SDK ) to run the command:
cscript /nologo WiRunSQL.vbs FOO.msi "SELECT Value FROM Property WHERE Property = 'ProductCode'"