Can't uninstall .NET 5 RC1

76

I'm trying to install .NET 4.6.1, but it claims I have a newer version installed and won't let me. I do have .NET 5 installed, so I'm trying to uninstall that. I had two installations, one for RC1 and one for RC1 Update 1. I removed the Update 1 installation, that went fine, but RC1 itself won't uninstall. When I run the uninstaller it opens a prompt to locate AspNet5.ENU.RC1.exe. This version of the installer seems to have been wiped from the internet in favor of the RC1 Update 1 installer (AspNet5.ENU.RC1_Update1.exe). If I cancel the prompt I get 0x80070642 - User cancelled installation. If I point it to the Update 1 installer, I get 0x80070001 - Incorrect function. I'm able to repair with no problems, I just can't uninstall.

How can I fix this so I can properly uninstall .NET 5 RC1?

asp.net5
asked on Stack Overflow Dec 10, 2015 by vaindil • edited May 28, 2016 by Lex Li

4 Answers

164
8

I downloaded only AspNet5.ENU.RC1.exe file from here: https://www.microsoft.com/en-us/download/details.aspx?id=49959 start it and run "uninstall". The uninstallation procedure with this file, for ASP.NET 5 RC1, works without problems.

answered on Stack Overflow Jun 8, 2016 by Stanislav Prusac • edited Jun 8, 2016 by Herr Kater
3

I managed to uninstall it by downloading the installer from asp.net and tried to install it by double clicking on the file. It gave an option to repair and uninstall.

answered on Stack Overflow May 4, 2016 by Ronald Nsabiyera
0

I ended up reinstalling Windows for an unrelated reason. I made a point of not installing the update to Microsoft ASP.NET and Web Tools and the problem has not happened again.

answered on Stack Overflow Feb 8, 2016 by vaindil

User contributions licensed under CC BY-SA 3.0