On my Windows Vista, it takes a full 12 minutes to install the .NET Framework 4.0.

  • a) Is this normal?
  • b) If not, can something be done about it?

The reason I'm concerned about the speed is because it slows down the testing of our product installer considerably. Testing an installer is time consuming already, but this new .NET Framework installer makes it almost undoable.


  • I did the test on a clean Vista inside a VirtualBox virtual machine. This setup does not show any performance issues in other situations.
  • I tried both dotNetFx40_Full_x86_x64.exe and dotNetFx40_Client_x86_x64.exe. They both take approximately the same time to install.
  • consider yourself lucky I'm at 45 minutes and counting installing .net 4 – Chris McGrath Jan 31 '12 at 22:53

You don't have to test on a machine without .NET 4 every time you want to test the installer.

You can get a machine that is fully up to date .NET wise and use that to test the bits of your installer you have control over - i.e. the bits that install your software.

Every [n] tests you need to test on a machine without .NET 4 just to make sure that it still works as expected.

You don't say what other operating systems you're targeting, but you should also test on machines that don't have .NET 3.5 or even .NET 2 installed.

| improve this answer | |
  • +1 Addressing the issue underlying the question quite nicely. – T.J. Crowder May 26 '10 at 13:47
  • @T.J. Crowder: The underlying issue is that testing installers is already very time consuming, and I'd like to avoid the in my opinion rather big overhead of having to test on yet another platform variant. – Dimitri C. May 26 '10 at 14:01
  • Good remark; I doubt I'll have another option. But it is sad, because it means I'll have to test the installer on Windows XP, Windows XP with .NET 4.0, Windows Vista, Windows Vista with .NET 4.0, Windows 7 and Windows 7 with .NET 4.0. Not every time, that's true, but it makes testing both more complex and more time consuming. – Dimitri C. May 26 '10 at 14:06
  • Coming in late but: when I was testing installers, I used VMs. I could start the install on "clean" images of XP, XP with .NET, Vista, and 2000 simultaneously and they'd run at nearly the speed of physical PCs in parallel. If your company belongs to MSDN or is a Microsoft Partner, you can download installers and/or images of all the operating systems legally. – CarlF Aug 12 '11 at 21:04

Yes, it is pretty normal according to what i have seen. Why are you so concerned about it - it is a one time task, it's not like you have to do it every day?

| improve this answer | |
  • 1
    Thanks for your response. I've updated my question with the reason why I'm concerned about the speed. – Dimitri C. May 26 '10 at 13:29

Try disabling the antivirus. When I disabled AVG "realtime protection" the .NET installer progressbar started moving 4-5 times faster.

| improve this answer | |

this new .NET Framework installer makes it almost undoable.

I'm curious what changed for you. 2 and 3.5 both always took nearly that much time for me as well.

| improve this answer | |
  • .NET 2.0 is preinstalled on a Windows Vista machine, and installs reasonably fast on Windows XP. – Dimitri C. May 26 '10 at 13:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.