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>
I used the dotnetfxcleaner tool after reinstalling software after a crash. Framework 2.0 had errors and I used the tool before the manual option. It cleaned up ver2.0 and allowed full install of ver 2 and later version 3 which had also failed. Updates loaded both 2 and 3 after using this tool without problem. System HP pavilion using XPSP2
PingBack from http://billy-girlardo.com/delicious/2007/09/25/links-for-2007-09-26/
Over the past couple of weeks, I've heard from a few users who tried to run the .NET Framework cleanup
dotnetfx_cleanup_tool - helped me very much to fix my Orcas C# express installation issue.
Question: I would like to try to automate the instructions for removing and reinstalling the .NET Framework
I would like to be able to run the cleanup tool from a software installation. How would I go about doing this, i.e. are there any command line options, etc.?
Hi JMarchesoni - Yes, there is a way to run this cleanup tool in silent mode. I posted some information about how to do this at http://blogs.msdn.com/astebner/archive/2007/09/21/5046920.aspx. Can you please take a look at that and let me know if you have any issues getting it to work in your scenario?
I've posted an updated version of the .NET Framework cleanup tool that contains the following changes:
I've posted an updated version of the .NET Framework cleanup tool that contains the following changes
PingBack from http://msdnrss.thecoderblogs.com/2007/12/04/updated-version-of-the-net-framework-cleanup-tool-that-can-remove-the-net-framework-35-rtm/
PingBack from http://www.pc-helpforum.be/f167/microsoft-net-1-1-verwijderen-7192/#post29371
I can not install TurboTax 2007 Deluxe due to problems w/ NET 2.0 Never had problem installing previous versions of TurboTax on same computer. Dell 8250 w/ Win XP Home w/ service packs.
Downloaded the tool. Ran it only to remove NET 2.0 & it said it successfully removed NET 2.0. But when I went to explorer the folder v2.050727 was still there. I tried to remove it & still got the msg "Cannot delete v2.0: Access is denied. Make sure the disk is not full or write protected and that the file is not currently in use." I tried to install TurboTax & got the msg "Error 25015. Failed to install assembly 'C:\ WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic/Vsn.dll' because of system error: Access is denied.'
Any other suggestions?
Hi Elliott - For this type of access denied error, I usually suggest trying one of the following workarounds to see if they help:
Hopefully one of these will help in your scenario as well.
PingBack from http://www.wehuberconsultingllc.com/wordpress/?p=628
Aaron, Your blog has been very helpful to me lately. I've referenced your blog in my own. Thanks for your help!