title: Get Product Version using upgrade code for a product installed
body: <p>I am trying to retrieve the product version of an installed msi using upgrade code.
  I tried using MsiGetProductInfo api but it doesn't return me the result.</p>
  
  <p>I couldn't find the application under HKEY_LOCAL_MACHINE\SOFTWARE\MSFT\Windows\CurrentVersion\Uninstall.</p>
  
  <p>But Instead I did find my application some place else in registry under Installer\Products.</p>
  
  <p>I know that similar question has bben asked here:
    <a href="https://stackoverflow.com/questions/6345262/get-product-code-of-installed-msi">Get Product Code of installed Msi</a></p>
  
  <p>but does someone has a better way of doing it.</p>
  
  <p>Thanks </p>