shiichan

Beware! Deleting the Windows Installer Cache Could Break Your Apps

Hi, it's me, Shiichan! Today I've got a story that's a little unglamorous but really worth knowing.

JP Windows Support jpwinsup.github.io

What was announced?

The JP Windows Support blog published a post asking, "Is it okay to delete the Windows Installer cache?" It was written by a Microsoft employee.

The Windows Installer cache lives in the C:\Windows\Installer folder, and it holds files that are essential for maintaining apps installed via MSI packages. It's not just a pile of temporary files.

Why it matters

When you check your system drive's free space and notice this folder is taking up a lot of room, it's tempting to think, "I'm not using these anymore, so let's delete them." But the cache is actually used for things like:

  • Updating installed products
  • Repairing products
  • Uninstalling products
  • Managing applied patches

In other words, these aren't leftover files you're done with — they're files future operations depend on. Deleting them carelessly can cause trouble down the road.

What changes

The post is clear that manually deleting the cache just to free up space isn't recommended. What makes this tricky is that nothing goes wrong right away. The problems show up later, when you try to update, repair, or uninstall a product and hit an error like "Error 1612 (installation source not available)," which can make the whole operation fail.

Copying the same files back from another computer doesn't reliably fix things either, and in the worst case you may need to reinstall the OS and your apps.

If you really need to free up space, the recommended order is:

  • Talk to the product's vendor or support first
  • Use any built-in cleanup feature the product offers for old updates
  • If you're considering uninstalling and reinstalling, follow the vendor's own procedure

Third-party tools that claim to clean up "orphaned files" also show up from time to time — always confirm with the vendor before running one.

Dive Deep

The post also explains how to figure out which product an MSI file in C:\Windows\Installer belongs to, using a tool called Orca, which ships with the "Windows Installer Developer Components" from the Windows SDK.

The steps are:

  • Find the .msi file you want to check in C:\Windows\Installer
  • Copy it to a working folder without touching the original
  • Open the copy in Orca and check the Property table

The Property table shows ProductName, Manufacturer, ProductVersion, and ProductCode. One catch: the Manufacturer field isn't digitally verified, so it's worth checking the digital signature tab too. MSP files have a different structure, so the advice is to check the related MSI's info first and then reach out to the vendor.

Wrap-up

  • The Windows Installer cache (C:\Windows\Installer) holds files essential for updates, repairs, uninstalls, and patch management
  • Manually deleting it just to save space isn't recommended — the scary part is that the fallout doesn't show up immediately
  • If you need to free up space, talk to the vendor or use built-in cleanup features first
  • Orca lets you check an MSI file's Property table to find out which product it belongs to
  • Worth a read if you manage Windows systems or are eyeing that Installer folder to reclaim disk space!