4

i have to install .NET 4 on some PCs here at work to run the current version of our program. The problem is that one of the PCs only has 500MB free space on the C Drive and .NET 4 requires 850MB and since it's a very small partition we couldn't find anything to remove.

The PC has lots of space on D and E, so is there any way to make .NET install on another partition?

TEMP is already directed to E:\Temp, so it's not just the temporary files that require so much space.

(A simple and fast (in terms of work time) solution would be very much preferred as the PC is used for quite important work that can't be stopped too long)

5 Answers 5

1

.NET has to install into the windows system folder as far as I know. Is it not possible (and easier) to move some of the other programs to the other partitions? You said you couldn't remove anything, but can you move anything?

2
  • We tried but the harddrive is far too small. I'll accept this because sadly it gives the correct answer: No, it's not possible.
    – user27709
    Sep 1, 2010 at 13:19
  • Sorry it's not something that can be fixed!
    – JNK
    Sep 1, 2010 at 13:21
6

I don't know about installing .NET on another partition, but you could move the pagefile off the C drive onto either D or E? This should free you up some space on C - see this KB Article.

1
  • Good suggestion, but after checking the pagefile is already on another drive.
    – user27709
    Sep 1, 2010 at 13:17
4

What about using symlinks? http://en.wikipedia.org/wiki/NTFS_symbolic_link

You could have the .NET folder in C:/Windows point to a "real" folder on one of the other drives. Maybe not the prettiest solution, but probably the fastest.

-1

As soon as I know, .Net is installing stuff into your windows folder. So, you could either move the pagefile or you use a partitioning tool (after full backup) to merge some of the free space with C so you can install it.

2
  • -1 - Merging drives is a REALLY bad idea. If you have a hardware failure on one, you lost the contents of both.
    – JNK
    Sep 1, 2010 at 12:33
  • Thats why I added the "(after full backup) you never should do something like that without a full backup and possible replacement hardware... thought that would be clear...
    – Diskilla
    Sep 1, 2010 at 15:11
-1

How much RAM has the computer? Move your paging file to another drive, leaving 2 MB for basic debugging. This might even speed up performance. Check if hibernation is enabled and disable it in the power settings. If you can combine these two, you should be able to free enough space for the installation

You must log in to answer this question.