/build/static/layout/Breadcrumb_cap_w.png

Windows Installer Cache

We currently inventory the Windows Installer Cache folder msi's in order to get the products installed on the workstation together with its product code.

I want to know in case any product is removed from the workstation would the msi's also get deleted or it varies.


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
The cached versions of MSI installers are deleted when said MSI is uninstalled from the system.
Posted by: pjgeutjens 12 years ago
Red Belt
1

They normally get deleted too.

 

Wouldn't it be easier to inventory the registry keys at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

to get a comprehensive list of installed software? You can extract the ProductCode from the UninstallString value.

Posted by: adilrathore 12 years ago
4th Degree Black Belt
1

Yes it would be easier. But I was researching over this Installer Cache thingy. Can you highlight a few major cases where the installer chache would not purge?


Comments:
  • As far as I understand the principles involved, the cached versions of MSI installers are deleted when said MSI is uninstalled from the system.
    However for patches (MSP) it's a different story, since Windows Installer stores not only the msp itself, but also the originals of the files that the msp replaces when it installs, so they can be restored when the patch is removed.

    So for the msp data to be purged, you need to remove the patch from ALL the products that it applies to.

    this might be an interesting article to read on the topic:
    http://blogs.msdn.com/b/heaths/archive/2007/01/17/the-patch-cache-and-freeing-space.aspx - pjgeutjens 12 years ago
 
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