Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnetcore-runtime.install: detect existing installation and do nothing #3

Open
jberezanski opened this issue Nov 29, 2016 · 3 comments

Comments

@jberezanski
Copy link
Collaborator

As suggested by @DarwinJS on Disqus.

@jberezanski
Copy link
Collaborator Author

jberezanski commented Sep 4, 2017

https://github.com/dotnet/cli/blob/master/Documentation/specs/cli-installation-scenarios.md#detecting-dotnetcli-installation

HKEY_LOCAL_MACHINE\SOFTWARE\{Wow6432Node\}dotnet\Setup\InstalledVersions{x64|x86}\sharedfx\Microsoft.NETCore.App
x.y.z:DWORD=1

(note: always in Wow6432Node on Win64)

@jberezanski
Copy link
Collaborator Author

This has now gained a priority bump, because:

  1. starting with 3.0 the native installers fail with error 0x80070666 "Cannot install a product when a newer version is installed" when attempting to install an earlier version in the same Major.Minor family;
  2. starting with 5.0 the runtimes are updated via Microsoft Update and the packages on chocolatey.org will always lag a bit behind, so until the updated packages pass moderation, attempts to install the currently published packages will fail on systems which have been updated via Microsoft Update.

@jberezanski
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant