Hot answers tagged

109

This seems to have worked for me. This is a simplified set of instructions from http://www.kavoir.com/2012/07/how-to-free-up-c-drive-disk-space-in-windows-7-easy.html Make sure no installations are running on your machine (there's probably a formal way to do this, but I'm not sure how). Copy using Windows explorer C:\Windows\Installer to another disk, e.g.,...


63

I created "PatchCleaner" to clean the windows installer directory of all orphaned files in one easy click. If you don't trust the app to do the right thing, use the move feature to put them somewhere safe in case you need them back in the future. I have run it on multiple machines and saved up to 15Gb of space :-) Run PatchCleaner after windows updates to ...


61

Use 7Zip. It will unpack MSI , CAB, some EXE, and a lot more packages for you .There is no need for admin privileges to run this either. -EDIT- And its open source, so no nagging messages begging you to buy the stuff


32

There is also lessmsi which is completely free and open source. There are no advertisements or nagging messages, it will preserve directory structure and file names correctly, has a sophisticated command line interface, as well as a graphical user interface that allows browsing through the files as well as viewing internal MSI tables and other MSI ...


30

You can compress the folder. You will regain between 10 and 20% of the space. Enable "Show system files" in Explorer options Right-click the installer folder Properties Compress folder Click OK Apply for all files and folder


26

Windows installer first systematically creates a system restore point, which is a quite slow operation. Also from the article entitled, appropriately, "Windows Installer sucks", an excerpt: It used to be that installation would consist of a program executing and taking a few simple steps to install your software, then do the reverse on ...


23

.msi files can be executed with msiexec.exe, so in combination with the runas command, you could accomplish what your want: runas /user:administrator "msiexec /i <path and filename of your msi>" As a full-path to the file is recommended, it might need quotes around it and you need to escape them then with a backslash \: runas /user:administrator "...


18

I ran into this issue, too. Alexey Ivanov's response didn't quite help me, but it did, however, inspire me to investigate C:\Users\x\AppData\Local\Temp. As usual, error messages were only half-useful. In my case, the DLL wasn't missing--the installer didn't have permissions to access the folder. I didn't try running the installer as an administrator--this ...


17

Windows Installer indeed has a reputation for being slow. There are a few things that contribute to this and I'm going to address them below. But ultimately, one should ask themselves if one, two, or three minutes is really a matter of contention when installing and uninstalling software. I take more time than that flipping through TV channels :) The ...


16

Except for speed issues (there is a lot of discussion here on that topic with some saying it is actually beneficial to performance in some ways) there is no issues in using NTFS compression a current Windows installation disk and all it's folders in it. Your files are there, available, they do not really change to a secret compressed file or something, ...


13

Usually msi packages are provided for system administrators who would have the need to deploy the software to several terminals over a network. The results are no different from using an executable, but msi packages sometimes do have additional options such as doing silent or pre-configured installs. If you are not a system administrator, use the ...


13

There is built-in MSI support for file extraction (admin install) MSI or Windows Installer has built-in support for this - the extraction of files from an MSI file. This is called an administrative installation. It is basically intended as a way to create a network installation point from which the install can be run on many target computers. This ensures ...


13

I got it to work. What I did: Remove all USB devices except the keyboard Set the boot order in the BIOS so that the HDD is first Disconnect the network Use a DVD (not usb) for installation I had tried each of these things individually and in different combinations. I'm not sure why it suddenly worked now, but windows setup was suddenly able to create a ...


12

I believe that the Windows Installer uses the %TMP% environment variable. You may want to check this value and see if it happens to be pointing to your External HD drive letter. UPDATE Weird... this does seem to be a "feature" of Windows Installer (to use the drive with the most free space). I can't find an option to disable it. I wonder if you can lock ...


11

I believe it stems from home users that may have a "family PC". Kids don't want "Family Tree Maker" and parents don't want "Spongebob Squarepants - the Video Game" on their respective start menus.


11

When a MSI executes it sees if the variable ROOTDRIVE is defined internally in the MSI. If it is not defined in the msi for a normal install it will set it to the local drive with the largest free space (and normally larger drives are slower). If you are performing a Administrative install (Administrative is usually only used for installing using Group ...


11

Warning: Do NOT delete this folder. Most suggestions above, including Fuhrmanator's, might hurt installer data and you will have to reinstall software. There is a simple (and open source) tool called WICleanup that removes only the unused files in the Installer folder. Download it here: http://appnee.com/wicleanup/ The GUI is awful, but if you take a look ...


10

"Just for me" should mean that the application installs into a user directory and only creates shortcuts for the current user. This could be useful e.g. when the user does not have admin rights (and therefore can't write into %PROGRAMFILES%, HKEY_LOCAL_MACHINE, and other interesting places). If you force "install for everybody", you may be limiting the ...


9

Well, I think the answer depends on how the application you're installing has been developed. Does it correctly place all user-created data into appropriate folders under a user's profile, or is it designed to run universally (and store user-created data in a common folder structure such as all users)? Does it rely on registry keys in a user's profile (...


8

Perhaps try this mirror from FileHippo, if read more people complaining about the sourceforge download being corrupt


8

Sorry for posting this. After hours of trying to figure this out I just did a little more research and got it. Apparently my user was the only user with privileges on the folder and file containing the .msi file. I added the SYSTEM user to have read and execute privileges on the folder containing the installer file and voila...it works and installs now.


8

Sometimes installers put required files in system directories. Uninstallers has knowledge of where these files are and all registry values to be removed. Unless you are sure you know all the directories where these files are, better leave the uninstallation to the uninstaller. Removing programs by removing directories will almost always result in "leftover" ...


8

What is an installer? Well, an installer prepares a system to allow a program to run: it installs that program. During this process, an installer (on Windows) might copy files into system locations, place shortcuts to launch it, update libraries, remove older versions, etc.. There is no universal installer standard or format; any program that performs these ...


8

Run Process Monitor from Microsoft (originally SysInternals). It will give you a ton of output, but you can filter on your folder name.


7

I've been using Revo Uninstaller for over a year to clean out the junk (registry keys, empty folder), and it works great in Advanced mode. Totally free.


7

Go grab the Process Explorer from Sysinternals. You should be able to see the msiexec.exe service running, and if something is in the middle of installing you should see other msiexec.exe children processes. It would be best to allow them to finish, and maybe try to squeak your install in between. I have seen it before where the .NET Runtime Optimization ...


7

You can find the correct product code to pass to msiexec /x by opening in the registry (regedit). Open the key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall Select the Uninstall key and "Find" from the "Edit" menu. Search for "Java." This should show which subkey the Java is located under. One of the keys is "UninstallString."...


7

Decompressing. That is the most common reason for using processing power. There are a lot of other reasons too depending on what is installed such as compiling or calculating.


7

I would recommend UniExtract for making neoice's solution even easier. It does the same thing, just is more automated and allows several methods for extracting MSI files, not just an administrative install (as his solution is using). UniExtract can also handle exe's packaged with WISE or InstallShield, as well as a variety of other compressed formats. Oh, ...



Only top voted, non community-wiki answers of a minimum length are eligible