Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<hr> <p><strong>IMPORTANT</strong>: <em>It's been a while since this answer was originally posted, and smart people came up with wiser answers. Check <a href="https://stackoverflow.com/questions/46637094/how-can-i-find-the-upgrade-code-for-an-installed-msi-file/46637095#46637095">How can I find the Upgrade Code for an installed MSI file?</a> from @ Stein Åsmul if you need a solid and comprehensive approach.</em></p> <hr> <p>Here's another way (you don't need any tools):</p> <ul> <li>open system registry and search for <code>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall</code> key (if it's a 32-bit installer on a 64-bit machine, it might be under <code>HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall</code> instead).</li> <li>the GUIDs listed under that key are the products installed on this machine</li> <li>find the one you're talking about - just step one by one until you see its name on the right pane</li> </ul> <p>This GUID you stopped on is the ProductCode.</p> <p>Now, if you're sure that reinstallation of this application will go fine, you can run the following command line:</p> <blockquote> <p>msiexec /i {PRODUCT-CODE-GUID-HERE} REINSTALL=ALL REINSTALLMODE=omus /l*v log.txt</p> </blockquote> <p>This will "repair" your application. Now look at the log file and search for "UpgradeCode". This value is dumped there.</p> <p>NOTE: you should only do this if you are sure that reinstall flow is implemented correctly and this won't break your installed application. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload