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

[Package Issue]: Microsoft.DotNet.DesktopRuntime.6 - Order matters for Side-By-Side installations #132211

Open
marco-eckstein opened this issue Dec 30, 2023 · 1 comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@marco-eckstein
Copy link
Contributor

marco-eckstein commented Dec 30, 2023

Category of the issue

Side-By-Side installation.

Brief description of your issue

I have just noticed that while it is possible to first install Microsoft.DotNet.DesktopRuntime.6 and then Microsoft.DotNet.DesktopRuntime.8, it is not possible the other way round.

Steps to reproduce

winget install --exact --id Microsoft.DotNet.DesktopRuntime.8
winget install --exact --id Microsoft.DotNet.DesktopRuntime.6

Actual behavior

PS C:\Users\Marco> winget list | Select-String "Microsoft.DotNet.DesktopRuntime"
PS C:\Users\Marco> winget install --exact --id Microsoft.DotNet.DesktopRuntime.8
Found Microsoft .NET Windows Desktop Runtime 8.0 [Microsoft.DotNet.DesktopRuntime.8] Version 8.0.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://dotnetcli.azureedge.net/dotnet/WindowsDesktop/8.0.0/windowsdesktop-runtime-8.0.0-win-x64.exe
  ██████████████████████████████  55.4 MB / 55.4 MB
Successfully verified installer hash
Starting package install...
Successfully installed
PS C:\Users\Marco> winget install --exact --id Microsoft.DotNet.DesktopRuntime.6
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
PS C:\Users\Marco> winget list | Select-String "Microsoft.DotNet.DesktopRuntime"

Microsoft Windows Desktop Runtime - 8.0 Microsoft.DotNet.DesktopRuntime.8         8.0.0                         winget

Expected behavior

Successful installation of both packages.

Environment

Windows Package Manager v1.6.3482
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.3803
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.0
@marco-eckstein marco-eckstein added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Dec 30, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Dec 30, 2023
@marco-eckstein marco-eckstein changed the title [Package Issue]: Microsoft.DotNet.DesktopRuntime.6 - Order matters for Side-By-Side installations [Package Issue]: Microsoft.DotNet.DesktopRuntime.6 - Order matters for Side-By-Side installations, "Schrödinger's install status" Dec 30, 2023
@marco-eckstein marco-eckstein changed the title [Package Issue]: Microsoft.DotNet.DesktopRuntime.6 - Order matters for Side-By-Side installations, "Schrödinger's install status" [Package Issue]: Microsoft.DotNet.DesktopRuntime.6 - Order matters for Side-By-Side installations Dec 30, 2023
@Trenly
Copy link
Contributor

Trenly commented Dec 31, 2023

@denelon - this is an issue for CLI


@marco-eckstein - use --force to bypass the check for already installed packages

@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

3 participants