question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running setup fails to install dotnetcore.

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
esargentcommented, Jun 16, 2016

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.

0reactions
TheRealPiotrPcommented, Dec 13, 2016

Thanks @ekiliqua. Do also try VS 2017 RC if you get a chance. The tooling has come a long way since Preview 1!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found