Where does Windows store MSI files for uninstallation?

Source: Internet
Author: User

Original Link:

Where does Windows store MSI files for uninstallation?

Following content is only used for knowledge sharing. Reprint from the original link. ^^

Apparently it works like this (on Windows 7, I does not know about XP and other OSes):

When a user installs some app, Windows does the following:

1) creates a registry key

Hklm\software\microsoft\windows\currentversion\uninstall\[productid GUID]

For the This app.

If you had access to the original MSI file of installer of your apps, you can find [ProductID GUIDs] by opening the MSI fil E in Orca.exe and clicking the ' property ' on the ' left ' orca, and looking for ' ProductCode ' line on the right. If you don't have access to original *.msi file, you can just search registry key Hklm\software\microsoft\windows\cur Rentversion\uninstall for the name of the app.

If you want to the delete your app (which refuses to uninstall for example) from the list of installed apps in Control Panel, You can delete the entry from this Uninstall key. It would surely disappear from the list on Control panel, but Windows would still remember it. For example, if-try-to-install a next version of the same app, Installer may still insist on uninstalling the previous Version. See item 2 for.

2) Windows copies the original *.msi file into the folder C:\Windows\Installer and renames it to a random name (k Eeps. msi extension though). Windows also creates a key in registry in

Hklm\software\microsoft\windows\currentversion\installer\userdata\[internaluserid]\products\[some Random Guid-like sequence of chars identifying to Windows your installation]\installproperties.

ValueName "localpackage" in this reg key would point to the renamed MSI file. To find the file in C:\windows\Installer you can navigate to this folder in Windows Explorer, switch it into Details view, Make column "Subject" is visible and you'll see for all Nnnnnnnn.msi fies their corresponding name of product.

Where does Windows store MSI files for uninstallation?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.