Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

VS 2005 beta uninstall instructions are missing the MSDN Library

VS 2005 beta uninstall instructions are missing the MSDN Library

  • Comments 10

A customer contacted me this week after reading my blog post about uninstalling beta builds of VS 2005 and the .NET Framework 2.0 in preparation for installing the final release.  After following the officially documented uninstall instructions, they tried to install the final release and were prompted to uninstall the MSDN Library for VS 2005.  When they tried to uninstall MSDN using the entry in Add/Remove Programs, the uninstall failed with a generic "fatal error" message and they were stuck with MSDN and could not install the final release of VS 2005 or the .NET Framework 2.0.  I took a look at the instructions page, and sure enough - it currently does not list the MSDN library in the set of VS 2005 uninstall instructions at the bottom.

If possible, I recommend that instead of manually uninstalling that you use the automated removal tool that is linked to at the top of the uninstall instructions page.  The automated tool does include a step to uninstall MSDN if it is present on your machine so you will not have to worry about running into this problem.

However, if you have already uninstalled all of the other parts of VS 2005, then the uninstall tool will fail to remove MSDN just like if you try to manually remove it using the entry in Add/Remove Programs.  The most reliable way to resolve the MSDN uninstall crash is to use the following steps:

  1. Re-install the .NET Framework 2.0 beta build
  2. Uninstall the MSDN for Visual Studio 2005 beta build from the Add/Remove Programs control panel
  3. Re-uninstall the .NET Framework 2.0 beta build

If these steps do not work, you can also try to use steps similar to those located here for manually uninstalling programs that have uninstall bugs.

I have mentioned this issue to the VS setup team and they are working on a refresh of that page to include the MSDN uninstall step.

<update date="11/11/2005"> Added a link to make it easier to find the .NET Framework 2.0 beta 2 installer in case you need to re-install it to remove MSDN </update>

 

  • Thanks Aaron (and google)! Your solution (the first version) worked perfectly for me. I was worried that I was going to be stuck on this for a while.
  • Unfortunately, I was hit by this problem. I tried reinstalling the .NET Framework 2.0 beta, but I'm still getting this error:

    "netdevfx20 is not a valid short file name."

    I've tried the msiexec /x solution, but it doesn't work either. Is there another solution?
  • I can answer my own question:

    Just follow the instructions in this KB article to remove MSDN Library Beta 2 from your Add/Remove Programs.

    http://support.microsoft.com/?kbid=328162
  • Thanks very much :)
    Your instructions worked very well and i can now use Web-Developer Express.
  • Thanks,Aron.your solution works perfect for me, help me to fix the problem which failing to uninstall the MSDN Libraty beta2,I really stuck with it for a long while.
  • Thanks..  I have been looking for a removal procedure that works. Now i can finally install Visual Web Developer 2005 Express.
  • Thanks a lot!
  • Thank you so much.  I've been fighting with this for the past few days, your first solution worked perfectly.
  • PingBack from http://blogs.msdn.com/astebner/articles/492809.aspx
  • Where to get Visual Studio 2005 and the .NET Framework 2.0 Where to download the .NET Framework 2.0 redistributable

Page 1 of 1 (10 items)
Leave a Comment
  • Please add 6 and 6 and type the answer here:
  • Post