As part of my day job, I get a (extremely valuable, it must be said, for which I’m very grateful) MSDN subscription. Recently, I’ve had trouble with Visual Studio. It used to be 2005 and is now 2008. They use the Team Foundation Server Developer Edition. So I decided to re-install…. oh, dear.
After a lengthy download of the ISO image which is nearly 4Gb, it burned apparently okay, but informed me a cab file was corrupt on the install. So I downloaded at home, which was a lot faster.
Now, on the home PC, I’ve tried 4 installs and it kicks out each time early on in the install process. The first time I ended up with a weird install that disabled the windows firewall and made the taskbar look odd.
So I rolled back and started manually uninstalling things I thought would conflict… Each install kicked out soon into the process.
After some time and heavy head scratching, I decided to google for something. WOW! I’m not alone. There are literally trainloads of disgruntled Microsoft developers all fiddling around and getting more and more irate with M$.
Eventually I came upon my solution, and I think it’s the one that will work, which comes from the MSDN website, but not from the help!!! Granted, a google search puts it top of the list, but if you are a developer and you know you’ve done something wrong and thus thinking as a developer, type “clean up prior to installing visual studio 2008” into Google gives all the wrong answers. 😕
The key, is to think like Microsoft help staff and uninstall previous installations in a specific order. Only people with Asperger syndrome are going to remember this, so here’s are some links.
Uninstalling Previous Versions of Visual Studio 2008 – this is for pre-release versions of VS2008
Uninstalling Visual Studio 2008 – this is for full versions of VS2008. This page also has a handy tool, a bit like the Symantech Tool for removing Norton, inspiringly called UninstallTool.exe I won’t supply the link, it’s on the page.
There are also links from the above for getting rid of VS2005 properly as well. And for those with Asperger syndrome, here’s the list:
Manual uninstall instructions
- Go to the Control Panel and launch Add/Remove Programs
- Remove all instances of Visual Studio 2008/Codename Orcas products
- Remove any remaining supporting products in the specified order.
- Remove “MSDN Library for Visual Studio 2008”
- Remove “Microsoft SQL Server Compact Edition 3.5”
- Remove “Microsoft SQL Server Compact Edition 3.5 Design Tools”
- Remove “Microsoft SQL Server Compact Edition 3.5 for Devices”
- Remove “Microsoft Visual Studio Performance Collection Tools”
- Remove “Windows Mobile 5.0 SDK R2 for Pocket PC”
- Remove “Windows Mobile 5.0 SDK R2 for Smartphone”
- Remove “Crystal Reports 2007”
- Remove “Visual Studio Asset System”
- Remove “Microsoft Visual Studio Web Authoring Component / Microsoft Web Designer Tools”
- Remove “Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime”
- Remove “Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime Language Pack” (non-English editions only)
- Remove “Microsoft Visual Studio Tools for Office Runtime 3.0”
- Remove “Microsoft Document Explorer”
- Remove “Microsoft Document Explorer 2005 Language Pack” (non-English editions only)
- Remove “Microsoft Device Emulator 3.0”
- Remove “Microsoft .NET Compact Framework 3.5”
- Remove “Microsoft .NET Compact Framework 2.0 SP1”
- Remove “.NET Framework 2.0 SDK”
- Remove “Microsoft Visual Studio Codename Orcas Remote Debugger”
- Remove “Microsoft Visual Studio 64bit Prerequisites Beta” (64-bit platforms only)
- Remove “Microsoft .NET Framework 3.5”
Addendum @ 18:30
No. All the above wasn’t enough. I’m not sure but it looks like I’ve got two corrupted ISO downloads of the Team thingy. So…
- I decided to just install the “Professional” edition which has all I need for now.
- Before doing so I…
- removed ALL DotNet i.e. 1 to 3.5 using the M$ tool dotnetfx_cleanup_tool.zip
- removed all traces of VS using the above tools – again!
- removed all the bits for Nero Burning software(v6 for me)
- checked windows update for .. er .. updates, in case any were part of the cleaning process
- disabled the anti-virus (NOD32)
- Installed dotNet 3.5
This seems to have worked. It’s just finishing off the MSDN Library as I type. next step is another reboot and to install the VS2008 sp1…