microsoft / microsoft/winget-pkgs

Microsoft.DotNet.DesktopRuntime.7 and Microsoft.DotNet.DesktopRuntime.8 missing installer for machine scope

Open
#266,862 10 comments 0 reactions 0 assignees View on GitHub
Issue-Bug Needs-Triage
Dominant language
No language data
Stars
11.1k
Forks
9.7k
Avg merge
1h 32m
Merged PRs (30d)
616

Description

### Brief description of your issue

When trying to install .net desktop runtime 7 and 8 under machine scope it fails since there is no installer listed.

Can this be updated?

### Steps to reproduce

winget show Microsoft.DotNet.DesktopRuntime.7 --scope machine outputs:

Found Microsoft .NET Windows Desktop Runtime 7.0 [Microsoft.DotNet.DesktopRuntime.7]
Version: 7.0.20
Publisher: Microsoft Corporation
Moniker: dotnet-desktop-7
Description: .NET is a free, cross-platform, open-source developer platform for building many different types of applications.
Homepage: https://dotnet.microsoft.com
License: MIT
Tags:
.NET
.NET Core
dotnet
net
C#
csharp
F#
fsharp
VB
Visual Basic
Windows Desktop
Windows
runtime
Installer:
No applicable installer found; see logs for more details.

### Expected behavior

Winget should return an installer for the machine scope. Below is the output for runtime 6 which has it listed.

winget show Microsoft.DotNet.DesktopRuntime.6 --scope machine
Found Microsoft .NET Windows Desktop Runtime 6.0 [Microsoft.DotNet.DesktopRuntime.6]
Version: 6.0.36
Publisher: Microsoft Corporation
Moniker: dotnet-desktop-6
Description: .NET is a free, cross-platform, open-source developer platform for building many different types of applications.
Homepage: https://dotnet.microsoft.com
License: MIT
Tags:
.NET
.NET Core
dotnet
net
C#
csharp
F#
fsharp
VB
Visual Basic
Windows Desktop
Windows
runtime
Installer:
Installer Type: burn
Installer Url: https://builds.dotnet.microsoft.com/dotnet/WindowsDesktop/6.0.36/windowsdesktop-runtime-6.0.36-win-x64.exe
Installer SHA256: 0d20debb26fc8b2bc84f25fbd9d4596a6364af8517ebf012e8b871127b798941
Offline Distribution Supported: true

### Actual behavior

Currently winget is unable to find an installer under the machine scope.
This causes patch integration within our RMM to fail when trying to patch .net via winget.

### Environment

```shell
Windows: Windows.Desktop v10.0.26100.4351
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.25.390.0
```

Contributor guide

Open the contributing guide

Research direction

Start by locating the Microsoft.DotNet.DesktopRuntime.7 and Microsoft.DotNet.DesktopRuntime.8 package manifests and compare their machine-scope installer definitions with Microsoft.DotNet.DesktopRuntime.6. Re-run `winget show Microsoft.DotNet.DesktopRuntime.7 --scope machine` and the equivalent version 8 command; done means both report an applicable installer under machine scope.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.