/build/static/layout/Breadcrumb_cap_w.png

Basic upgrade question

Can anyone tell me how Wise Package Studio can uninstall a product using only the upgrade code? I installed a product and then searched the registry for the upgrade code and it could not be found. I found that the uninstall string is also used as the KEY for the product, but the upgrade code was nowhere to be found.
-DomC

0 Comments   [ + ] Show comments

Answers (2)

Posted by: michaelnowell 15 years ago
Second Degree Blue Belt
0
I believe that the registry stores the information in a slightly different format that the upgrade code itself. It kind of mixes around the characters of the GUID.

Look in the registry under HKCR\Installer\UpgradeCodes you will see several codes for all the apps that are installed on your PC.

If your upgrade code is {4F688D6F-DD9B-11D5-83E6-0008C7D3BD41} then it will be listed like this F6D886F4B9DD5D11386E00807C3DDB14.

If you look carefully you can see the similarities.......

Original Code = 4F688D6F-DD9B-11D5-83E6-0008C7D3BD41
Registry entry = F6D886F4-B9DD-5D11-386E-00807C3DDB14

You can see that each section of the GUID is reversed. The same thing appled for the registry string within the key, except that this represents the ProductCode of the installed application

Hope this helps out.
Posted by: DomC 15 years ago
Orange Belt
0
Thanks! michaelnowell

Between your info and the info on http://www.msigeek.com/2008/08/windows-installer-guids.html I was able to figure it out.... But the way microsoft scrambles GUIDs is crazy.

Thanks again
-DomC


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ