Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS
with no warranties, and confer no rights. Additionally, views expressed
herein are my own and not those of my employer, Microsoft.
I have posted an updated version of the .NET Framework cleanup tool that now contains support for automatically cleaning up the .NET Framework 1.0, the .NET Framework 1.1, the .NET Framework 2.0, the .NET Framework 3.0 and the .NET Framework 3.5.
This tool automates the manual cleanup steps for the .NET Framework 2.0 that I posted a while ago. These steps have helped solve most of the known .NET Framework 2.0 beta uninstall issues that I know of. In addition, the tool can be useful to return your system to a known (relatively clean) state in case you run into any .NET Framework 2.0 installation failures so that you can try to install again.
The updated version of the cleanup tool contains options to clean up the .NET Framework 1.0, 1.1, 2.0, 3.0 and 3.5 separately and all versions simultaneously in a single step. The cleanup tool contains logic so that if it is run on an OS version that includes the .NET Framework as an OS component, it will not offer the option to clean it up. This means that running the cleanup tool on Windows XP Media Center Edition or Tablet PC Edition will not offer the option to clean up the .NET Framework 1.0, running it on Windows Server 2003 will not offer the option to clean up the .NET Framework 1.1 and running it on Windows Vista will not offer the option to clean up the .NET Framework 2.0 or the .NET Framework 3.0.
There are a couple of very important caveats that you should read before using this tool to cleanup .NET Framework bits on your machine:
I have been using this tool for a while, and it has proven reliable, but there may still be bugs in it in certain scenarios. Please contact me if you run into any issues while using the cleanup tool or if you are still unable to install the .NET Framework (or any service packs or hotfixes) after running it.
The tool has a command line switch that allows it to be run in silent mode if needed. There is more information about how to run it in silent mode in the .NET Framework Cleanup Tool User's Guide.
<update date="8/22/2007"> Added information about removing the .NET Framework 3.0 because the tool now supports this version of the .NET Framework in addition to 1.0, 1.1 and 2.0. </update>
<update date="9/13/2007"> Added information about removing the .NET Framework 3.5 because the tool now supports this version of the .NET Framework in addition to 1.0, 1.1, 2.0 and 3.0. </update>
<update date="12/3/2007"> Added a link to the silent install instructions for the cleanup tool </update>
<update date="2/28/2009"> Added links to the .NET Framework Cleanup Tool User's Guide, which contains download locations and detailed information about how to use the cleanup tool. </update>
Seit etwas mehr als einem Monat läuft mein Microsoft Visual Studio 2008 auf meinem Windows Vista Business 32bit ohne nennenswerte Probleme. Davor jedoch hat mich die Installation fast in den Wahnsinn getrieben und nachdem ich bei meinem Kommilitonen Michael
PingBack from http://rhnatiuk.wordpress.com/2008/05/17/net-35-sp1-beta-and-real-life/
PingBack from http://www.chw.net/foro/no-puedo-desinstalar-framework-2-0-with-security-updates-win-ue-v-7-a-t155137.html#post1978755
Hi Ddupuis - I'm sorry for the hassle - my file server was down for maintenance from May 10-12. The link is working now from what I can tell. I have also posted the tool at an alternate location in case this happens again in the future - http://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog_Tools/dotnetfx_cleanup_tool.zip.
Hi, and thanks for the tool. I have had problems related to 1.1 and could not uninstall it due to Windows Vista not authorizing uninstallation.
However, now my problem is that I cannot reinstall 1.1 It begins the process, gets near the end, and then "rolls back," which I have never seen before. While I'm bugging you, whenever I try to install 3.5 (and I'm not really sure I need to or want to), it says it can't because I don't have 2.0. However, when I try to install 2.0, I'm told I already have it (even after using your tool). I thank you for assistance you can muster! -Pete
Hi Calipete - I'm sorry for the hassle that this issue is causing for you. I haven't ever heard of Vista not allowing the uninstall of the .NET Framework 1.1 before. How did you work around that?
For the install error, can you use the steps listed at http://blogs.msdn.com/astebner/archive/2005/03/29/help-me-help-you-if-you-have-setup-bugs.aspx to gather a verbose log from the failing installation?
For the .NET Framework 3.5, can you list the exact error message you see when you try to run that? Also, can you gather logs from that failing install as well? You can find a list of logs created by this setup at the top of the blog post at http://blogs.msdn.com/astebner/archive/2007/07/31/4156781.aspx.
You can zip and send the logs to me at Aaron.Stebner (at) microsoft (dot) com and I can try to take a look and see if I can figure anything out from there.
PingBack from http://www.pc-helpforum.be/f167/automatische-updates-9924/#post46489
Phew! I encountered serious problems after deciding to cancel a framework 3.5 SP1 Beta installation.
Your tool saved the day, although I had to run it twice. If I had tried that first, instead of trying to repair/uninstall/reinstall/apply SP1 of Visual Studio 2005, then I would not have spent the whole day/evening ;-)
PingBack from http://www.daseco.de/wordpress/?p=3
Thanks Aaron, you're a master.
Your cleanup tool solved all my problems.
I have now a clean .NET2 which I needed for my new DotNetNuke application.
After running add/remove programs the normal way, I had to run your tool twice with reboot because of all the dirt on my computer.
My Bitdefender application (program bdagent.exe) needed a repair after this, but that was not a problem.
PingBack from http://zentrum-der-macht.info/post/2008/07/Net-Framework-deinstallieren.aspx
PingBack from http://www.vistaheads.com/forums/windows-vista-ultimate/268918-net-framework-1-1-cannot-install.html#post944234
PingBack from http://www.vistaheads.com/forums/software-problems/268920-net-framework-1-1-cannot-install.html#post944236
PingBack from http://www.vistaheads.com/forums/gaming/268921-installing-net-framework-1-1-games.html#post944237
PingBack from http://www.vistaheads.com/forums/microsoft-public-de-windows-vista-registry/268922-net-framework-1-1-cannot-install.html#post944238