Visual Studio long install/uninstall time?

21

5

In the organization that I work at, we have a number of developers who use Visual Studio 2013. I also personally use Visual Studio 2013, both at work and at home.

What gets me is just how long it takes to install Visual Studio 2010/2013. Currently my install has been going for 2 hours and 45 minutes, though this is via the web installer. A typical install onto a developer's machine in my organization generally takes 1.5-2 hours to complete, and this is regardless if the disc image is on a shared drive or on their computer.

Additionally, uninstalling is a nightmare. With the release of the Community Edition, I have decided to upgrade from Visual Studio 2010 (For which I own a license for) to Visual Studio 2013 Community Edition. The uninstall itself took over 3 hours.

So what is taking Visual Studio so long to install/uninstall? Is there anything I can do to speed up this process when we deploy it to our developer's machines?

Thebluefish

Posted 2014-12-09T23:26:42.097

Reputation: 487

Have your ask anyone in your organization my guess its the network itself – Ramhound – 2014-12-09T23:45:58.487

Everyone in my department (IT support) has the same experience. Again, even if we copy the disc image to the computer, the install time still takes at least 1.5-2 hours. – Thebluefish – 2014-12-09T23:47:34.647

2This behavir is clearly not normaly but you really have not provided enough information but most solutions will require being an admin. – Ramhound – 2014-12-09T23:58:18.270

3To be fair to thebluefish from my experience this is very normal. I've installed community edition on a couple of machines in the past week and unless they are high powered workstations with SSD's VS install time is ridiculously long. – Chris Nevill – 2015-02-20T12:22:46.943

3Uninstall time is also very slow for me. I just installed the community edition (which had fairly reasonable install time) but now I'm uninstalling the web edition and so far it's taken well over an hour. Why should anything take this long to uninstall?? – AdamMasters – 2015-03-31T20:46:18.413

2This is a very typical experience for me. Installing, repairing installation, uninstalling, often even just installing add-ons or updates takes an unusually long time. But this has been my experience with Microsoft products in generally, even installing Office on a Mac takes significantly longer than any other application. – threed – 2015-04-21T23:10:09.107

Take a look at the various logs for a clue, or run it in verbose mode to see where it hangs. link

– Justin – 2015-09-09T21:14:42.780

1We have the same issue. It's really rediculous, if you want to uninstall 2013 and install 2015, you can simply write the day off. It will take you 6-7hrs. An my machine has an SSD, 16GB RAM, i7 CPU and the ISO loaded locally. – Talon – 2015-12-08T09:00:21.983

5"This behavir is clearly not normal" - what computer do you have, Ramhound? I've installed VS on 3 different computers and it takes hours on every one of them. One of them has an Intel SSD, but VS installation is still painfully slow. – John Reynolds – 2015-12-11T12:40:51.967

Disable antivirus real time protection help a lot for me. – Xilmiki – 2015-12-12T15:08:38.467

Answers

2

Make sure assembly binding logging is disabled. It's easy to forget to turn it off after enabling it while debugging something, and it can slow down installing VS significantly.

This SO answer has details on running the log viewer and changing the settings.

eppsilon

Posted 2014-12-09T23:26:42.097

Reputation: 174

2

I was uninstalling VS 2015 community version and it was taking forever to uninstall. After waiting for few hours, I left it running overnight but it was still busy uninstalling in the morning..that total time of about 15 hours...when will this thing end?

I canceled it but even that was taking time so I killed the process.

Then execute the following command to force uninstall it

vs_ultimate.exe /uninstall /force

If you have community version, you run vs_community but provide same argument, which is what I did:

vs_community.exe /uninstall /force

Run the command from where the vs_community.exe or vs_ultimate.exe is located. Look for it using dir vs_community.exe /s in C:\ drive

This uninstalled was fast, everything took like 5 to 10 minutes.

zar

Posted 2014-12-09T23:26:42.097

Reputation: 873