Running setup fails to install dotnetcore.
See original GitHub issueI uninstalled the existing version of coreCLR on my machine. I have a windows 7 64 bit machine with professional version of Visual Studio 2015.
When I attempted to install vc_redist.x64.exe (Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.23026), I got an error in the logs that says
Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
Error 0x80070666: Cannot install a product when a newer version is installed.
When I attempted to install the DotNetCore.1.0.0.RC2-SDK.Preview1-x64.exe, it throws an error stating that "Another version of this product is already installed"
So I am unable to install this.
Environment data
dotnet --info
output:
'dotnet' is not recognized as an internal or external command,
operable program or batch file.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Running setup fails to install dotnetcore. · Issue #6423
Yes. Esargent, This has worked for me. I was able to install the "DotNetCore.1.0.0.RC2-VS2015Tools.Preview1.exe" after ...
Read more >To run this application you must install .NET Core [Fix]
Check if .NET Frameworks are enabled · Install .NET Core from the prompt · Launch the app in Clean Boot · Repair/Reset the...
Read more >asp.net - DotNet Core Setup Failed
Another Solution is to: go to the folder where you have downloaded the installer; open the command prompt by Shift+right click -> Open ......
Read more >How to Fix the Windows “To Run This Application, You ...
Sometimes, installing .NET Core doesn't actually fix this error message. Here are more solutions you can try.
Read more >Setup failed when installing .NET Core SDK 3.1.407 and ...
Hi! I am trying to install .NET Core SDK 3.1.407, .NET SDK 5.0.201 and Microsoft Windows Desktop Runtime - 3.1.13 (x64) but the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FIXED: I found there was a known issue with Tooling Preview (not explicitly SDK) after installing Visual Studio 2015 RC3 which has the same symptom: https://msdn.microsoft.com/en-us/vs-knownissues/vs2015-update3-rc
Specifically, you have to Repair the Visual C++ 2015 Redistributable (both x86 and x64) via the “Programs and Feature” Window (a.k.a. Add/Remove Programs)
This allowed me to install the SDK and the tooling preview. I hope it helps others as well.
Thanks @ekiliqua. Do also try VS 2017 RC if you get a chance. The tooling has come a long way since Preview 1!