Can't remove .NET Framework 2.0 Beta 1

I'm attempting to install the VC# Express Edition 2005 Beta 2 package and have run into a snag.

I previously had some of the Express Edition Beta 1 packages installed (VB, VC#, VC++), but removed them in order to install Beta 2. I also have the .NET Framework 2.0 Beta 1 package installed, which refuses to uninstall.

First, I tried removing it via Add/Remove Programs. The uninstaller complained that 'netfx.msi' could not be found, and quit. Then, I ran the Visual Studio Beta 2 Cleanup tool, but VC# still said that the .NET Framework 2.0 Beta was installed. I tried Add/Remove Programs again, but now the Add/Remove Programs applet itself said that the application "may have already been removed", and offered to remove it from the list.

Next, I grabbed a copy of the .NET Framework 2.0 Beta 1 installer (dotnetfx.msi) and ran it, hoping it would give me the option of uninstalling. Unfortunately, the installer threw an error stating, "Another version of this product is already installed. Installation of this version cannot continue.", and offered to send an error report.

Lastly, I tried running the .NET Framework 2.0 Beta 2 installer, just in case, but it gave me the semi-expected error that a previous version was already installed and that installation could not continue.

Ouch, catch-22... anyone know how to get around this


Answer this question

Can't remove .NET Framework 2.0 Beta 1

  • FahimAshfaq

    Please do the following to get the 2.0 .NET Framework BETA into a good state so you can continue with the install< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

     

    Force a repair using the version of the 2.0 .NET Framework you have

     

    Extract the dotnetfx.exe to a location

                <path>\dotnetrfx.exe /c

     

    Run a repair of the 2.0 .NET Framework using the above source

    <path>\netfx.msi REINSTALL=ALL REINSTALLMODE=vecmus

     

    Once install completes run the uninstall via add remove programs

     

    Delete the following files and folders

     mscorree.dll from the system32 folder

    C:\WINNT\Microsoft.NET\Framework\v2.0<versions>

     

    Delete the registry entries for the BETA2 version of the 2.0 .NET Framework

     

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\ v2.0<versions>

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\ v2.0<versions>

     

    Install the desired version of the .NET Framework



  • redundent

     XGR131 wrote:
    I had the same problem , running the cleanup tool twice solved it, but the complaint I got was needed Beta 2 to uninstall.

    HTH

    I've run the cleanup tool a handful of times, and it doesn't seem to get rid of it. Tongue Tied I'm guessing it's some registry keys that aren't being removed properly...

  • michael_miguel

    I had the same problem , running the cleanup tool twice solved it, but the complaint I got was needed Beta 2 to uninstall.

    HTH

  • gibic

    Can you run msizap for the .NET Framework product code. 

    But in order to save download space I removed msizap from the VS 2005 beta version of the cleanup tool. 

    Download the .NET 1.0/1.1 cleanup tool from http://astebner.sts.winisp.net/Tools/dotnetfx_cleanup_tool.zip and then extract msizap.exe from inside of it by running:

    dotnetfx_cleanup_tool.exe /t:c:\temp /c

    and going to c:\temp and running

    msizap TP {71F8EFBF-09AF-418D-91F1-52707CDFA274}

    Thanks.


  • Tyler Durden

    It all sounds like good advice but I'm afraid I'm now heading for a re-format of my operating system drive, BUMMER.  I have a ton of files in my windows directory that look like this: $NtUninstallKB893066$(2) and other names like it.  Wow, I don't know what's up.    I understand your instructions however I don't where the files you reference are located.  Any ideas on how to proceed.










  • jlento

    The <path> reference is wherever you have dotnetfx.exe executable you used to install the .NET Framework 2.0 Beta code.  When all else fails use either the command prompt via CD \ followed as a new command by dir <sample file name> /s to locate all occurrences of the file name or alternatively use the Search command from the Start menu under Windows XP to locate files of which you have lost track but which you expect to be on your hard  drive.  Hope this helps!
  • udiraz

    Same problem.  After following Aaron Stebner's advice, I now can't use .NET 1.1 either.


  • Can't remove .NET Framework 2.0 Beta 1