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.8 #196213

Open
2 tasks done
chbe-gdmse opened this issue Dec 4, 2024 · 0 comments · May be fixed by #196917
Open
2 tasks done

[Package Issue]: Microsoft.DotNet.DesktopRuntime.8 #196213

chbe-gdmse opened this issue Dec 4, 2024 · 0 comments · May be fixed by #196917
Labels
In-PR Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@chbe-gdmse
Copy link
Contributor

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Installation issue.

Brief description of your issue

Missing scope in yaml file for Microsoft.DotNet.DesktopRuntime.8

Steps to reproduce

Install Microsoft.DotNet.DesktopRuntime.8 using --scope machine

Actual behavior

Winget returns No applicable installer found; see logs for more details.

Expected behavior

Winget installs Microsoft.DotNet.DesktopRuntime.8

Environment

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

Windows: Windows.Desktop v10.0.22631.4460
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0

Screenshots and Logs

2024-12-04 16:14:52.021 [CORE] WinGet, version [1.9.25200], activity [{1CFADF7F-207F-4872-9867-599E7328C540}]
2024-12-04 16:14:52.022 [CORE] OS: Windows.Desktop v10.0.22631.4460
2024-12-04 16:14:52.022 [CORE] Command line Args: "C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe\winget.exe" install -e --id Microsoft.DotNet.DesktopRuntime.8 --accept-source-agreements --accept-package-agreements -h --scope machine --source winget
2024-12-04 16:14:52.022 [CORE] IsCOMCall:0; Caller: winget-cli
2024-12-04 16:14:52.027 [CLI ] WinGet invoked with arguments: 'install' '-e' '--id' 'Microsoft.DotNet.DesktopRuntime.8' '--accept-source-agreements' '--accept-package-agreements' '-h' '--scope' 'machine' '--source' 'winget'
2024-12-04 16:14:52.028 [CLI ] Found subcommand: install
2024-12-04 16:14:52.028 [CLI ] Leaf command to execute: root:install
2024-12-04 16:14:52.033 [CLI ] Executing command: install
2024-12-04 16:14:52.047 [REPO] Named source requested, found: winget
2024-12-04 16:14:52.048 [CLI ] Created authentication arguments. Mode: silentPreferred, Account: 
2024-12-04 16:14:52.050 [CORE] Started trust validation of msix at: C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft/WinGet\State\defaultState\Microsoft.PreIndexed.Package\Microsoft.Winget.Source_8wekyb3d8bbwe\source.msix
2024-12-04 16:14:52.138 [CORE] Result for certificate chain validation of Microsoft origin: 0
2024-12-04 16:14:52.176 [CORE] Result for trust info validation of the msix: 0
2024-12-04 16:14:52.234 [CORE] Started trust validation of msix at: C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft/WinGet\State\defaultState\Microsoft.PreIndexed.Package\Microsoft.Winget.Source_8wekyb3d8bbwe\source.msix
2024-12-04 16:14:52.283 [CORE] Result for certificate chain validation of Microsoft origin: 0
2024-12-04 16:14:52.313 [CORE] Result for trust info validation of the msix: 0
2024-12-04 16:14:52.719 [REPO] Opening database for ImmutableRead at 'C:\Windows\TEMP\WinGet\defaultState\{55A1E37D-32CB-4A67-B3D5-61E1AB409CB8}'
2024-12-04 16:14:52.722 [REPO] Opened SQLite Index with version [2.0], last write [2024-12-04 15:45:53.000]
2024-12-04 16:14:52.976 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-12-04 16:14:52.980 [REPO] Reading MSI UpgradeCodes
2024-12-04 16:14:53.339 [REPO] Opening database for ReadWrite at 'C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft/WinGet\State\defaultState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-12-04 16:14:53.340 [REPO] Opened SQLite Index with version [1.7], last write [2024-12-04 15:45:48.000]
2024-12-04 16:14:53.535 [REPO] Found multiple results for Id [Microsoft.DotNet.DesktopRuntime.8] in tracking catalog for: winget
2024-12-04 16:14:53.537 [CLI ] Found one app. App id: Microsoft.DotNet.DesktopRuntime.8 App name: Microsoft .NET Windows Desktop Runtime 8.0
2024-12-04 16:14:53.541 [REPO] Attempting to open pinning database: C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft/WinGet\State\defaultState\pinning.db
2024-12-04 16:14:53.664 [CLI ] Terminating context: 0x8a150010 at C:\__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\UpdateFlow.cpp:be

Adding Scope: machine in the yaml istaller file should resolve the issue, as removing scope for the install command installs the application.

@chbe-gdmse chbe-gdmse added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Dec 4, 2024
@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 4, 2024
@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In-PR Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants