Yes, there is nothing special about the Installer
directory that requires them to be uncompressed.
In the old days, there were piles of installer files like unwise.exe
, unvise32.exe
, uninstall.exe
, etc. in the \Windows\
directory; sometimes shared, sometimes not. The \Windows\Installer
folder is the Windows Installer cache, which allows each program to maintain its own installation program, similar to how the WinSxS folder helps to avoid DLL Hell.
In general, it is used to store/cache the basic installer for programs, so that when you want to modify an installed program, it runs from there and allows you to uninstall or possibly even do a repair without needing the original installation media, and so there should be no adverse affects from setting it to use NTFS compression.
I’ll leave the answer to whether you can compress/archive them as ZIP, RAR, etc. for others who find their way here, looking for that.
Some programs choose to store their entire installer which of course is undesirable, but fortunately those are rare; most just store a smaller installer file (like unwise32.exe
in the old days) with the basic installation information. Most programs don’t use the files in the Installer
folder at all and they only come into play when you make a change with Add/Remove Programs.
Occasionally however, you may find a program that actively uses some of the files, particularly by setting the icon of their shortcuts (in the Start menu, desktop, etc.) to point to the ARPPRODUCTICON.exe
file in its Installer cache.
In most cases, you can compress or move the files and put them back when you want to make a change (modify, repair, uninstall). In fact, the folder is ultimately a cache of installation files, so you could even delete them and just use the original installation media.
NB: it is not only programs that cache their installation files in the Installer
folder; Windows itself keeps patches and service-pack data in there as well, so if you delete them, updates may not work, and theoretically, you might have to re-install Windows. Don’t just move/delete the entire contents willy-nilly; take a look at what is in there.
1I did it and run into a bunch of problems, messing with hidden system folders is not advisable unless explicitly approved by Microsoft. – Vojtěch Dohnal – 2016-06-26T09:01:27.687
note that Windows 10 has added a compress OS (compact) feature that allows you to save quite some space (especially useful if you can't find enough space to do a feature upgrade on a size constrained device): http://www.intowindows.com/how-to-compress-windows-10-installation-files-folders/
– George Birbilis – 2018-06-12T09:03:36.9071@GeorgeBirbilis great find. I'll give that method a try on my VMs. On a side note, "method 2" in your link talks about compressing the entire drive using NTFS compression. That begs the question: if the entire drive can be compressed without Windows balking, then why does it matter if a single directory is compressed? – Chad Levy – 2018-06-12T21:08:26.737
Actually I haven't seen issue myself in the past with compressing the whole drive, especially if it's fast enough and you have a decent CPU. Usually I'd do it in a size constrained device if I needed more space (say to be able to do Windows 10 Feature Updates) in the system partition. On my Intel TV Stick I use the compact OS feature. BTW, that "compact" command seems to be usable on any folder with executables, even has a parameter to pick the compression method when they don't specify the parameter to compact the OS (not sure why you can't combine the two params) – George Birbilis – 2018-06-15T12:36:26.773
I wonder if compressing a filesystem might actually make it faster, rather than slower, particularly for infrequently-changed files. Nowadays it's common to encrypt /decrypt on the fly with BitLocker, so we're happy dedicating a certain amount of CPU to every read/write. – mwfearnley – 2020-01-07T10:12:03.470
1Are you referring to NTFS file compression or archiving these files (like a .zip)? – Der Hochstapler – 2012-07-26T20:57:07.837
4NTFS file compression. I'll update the question to reflect this. – Chad Levy – 2012-07-26T20:57:32.590