Windows Installer Cache : To delete, or not to delete; that is the question!

Over a period of time, as and when you install and uninstall programs on your Windows computer, you may find your Windows Installer cache growing bigger and bigger – and could run into several gigabytes too!

Windows Installer Cache

The Windows Installer folder is a hidden system folder situated in C:\Windows\Installer.  To see it you have to through Folder Options, uncheck the Hide protected operating system files option.

If you open the folder you will see a lot of Installer files, and folders containing more Installer files.

installer folder Windows Installer Cache : To delete, or not to delete; that is the question!

Whenever you install a program using the Windows Installer, a copy of changed system information is placed in this folder. The folder contains the saved copies of the installed updates that are applied by the Installer. This information is required, if you decide to uninstall the program. Most of the times, it wont be complete files – it could just be the size of the triggering msi. If you delete the particular folder, or its contents, you may not be able to uninstall or repair or even update the program using the Windows Installer.

You may at some point of time, face a situation where you find that that your system drive is running out of space, and this folder is occupying a lot of space.

Is it safe to delete the Windows Installer folder or its contents?

Well if you empty the folder, your system would still continue to operate normally. But as mentioned, should you at any point of time decide to uninstall/repair/update a program, you would not be able to do so!

Therefore, you should not delete files from the Installer folder; at least not manually, as this folder is a cache for installation files and patches (MSP files) and removing these will not let you uninstall, update or repair programs. Furthermore, it may even prevent you from applying or removing, updates or patches to software.

However if you are really hard-pressed to create more space on you system drive, you may try and cut-paste its contents to another drive for safe-keeping. These files are unique and cannot be shared between machines.

Alternatively, you may try and clean out the Installer folder by downloading Windows Installer Cleanup Utility and then running the command:

msizap.exe g!

When you run this command, the installer & patch packages are enumerated. The unreferenced packages are considered to be safe to be deleted. The “g” option  removes, for all users, any cached Windows Installer data files that have been orphaned.

Msizap.exe is a command line utility that removes either all Windows Installer information for a product or all products installed on a computer.

However, products installed by the installer may fail to function after using Msizap, and it may and may move the machine to an inconsistent state. As a result, Microsoft has stopped support for the Windows Installer Clean Up utility. See this post to troubleshoot Missing Windows Installer Cache files.

You may also like to read the following posts which talk about other Windows system folders:

  1. The Secret Of  Winsxs Folder
  2. Where is the Temporary Internet Files folder located?
  3. Who stole my Cookies!?
  4. Temporary Files in Windows.
Posted by on , in Category Windows with Tags
Anand Khanse aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows, since 2006, and the Admin of TheWindowsClub.com. Please create a System Restore Point before trying out any software & be careful about any third-party offers while installing freeware. Add me on Google+.

3 Comments

  1. u64

    This may be an additional useful method to avoid more msi bloat

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
    “MaxPatchCacheSize”=dword:1 ;Def=10(% of partion) for MSI cache

  2. ShyamS@TWC

    Most of the time uninstalling program will be a great problem if you delete those files. But you could use the original setup to remove it. Once I had a situvation where the installer file got deleted. So I used to original installer file to uninstall the program. However it won’t work in all the cases.

  3. James

    You can also compress that folder to safely free up a little space

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Recent Comments