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

Winget download does not work on OS packages that do support winget install #4976

Open
MattHyman opened this issue Nov 15, 2024 · 1 comment
Labels
Area-External Issue outside of winget-cli source Command-Download Issue related to WinGet Download msstore Issue related to "msstore" REST source

Comments

@MattHyman
Copy link
Member

Brief description of your issue

Winget download does not work on OS packages that do support winget install. It should be noted that these packages are not discoverable in the store.

This can be seen with gaming services and devhome.

Steps to reproduce

Execute winget download 9MWPM2CQNLHN and winget download 9n8mhtphngvv for gaming services and dev home respectively.

Expected behavior

The packages are downloaded as expected.

Actual behavior

The package download fails with "The Microsoft Store package does not support download." despite winget install 9MWPM2CQNLHN and winget download 9n8mhtphngvv1 both working.

Image
Image

Environment

winget --info
Windows Package Manager (Preview) v1.10.40-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.2314
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.25.40.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Enabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Nov 15, 2024
@denelon denelon added Area-External Issue outside of winget-cli source msstore Issue related to "msstore" REST source Command-Download Issue related to WinGet Download and removed Needs-Triage Issue need to be triaged labels Nov 16, 2024
@denelon
Copy link
Contributor

denelon commented Nov 16, 2024

The Microsoft Store is making the determination for the ability to download packages from the Microsoft Store source.
This isn't really a bug for WinGet, but WinGet is how folks would encounter this situation.

The metadata is displaying "true", but in reality, it's "false" when WinGet is calling the APIs used to download the package.

We've reached out to get the bug fixed in the metadata response for winget show. That will not change the behavior in this case. The package will still not be available for download or offline installation.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-External Issue outside of winget-cli source Command-Download Issue related to WinGet Download msstore Issue related to "msstore" REST source
Projects
None yet
Development

No branches or pull requests

2 participants