microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.54k stars 1.39k forks source link

winget not listing certain msstore apps #4445

Open myokeeh opened 1 month ago

myokeeh commented 1 month ago

Brief description of your issue

I'm trying to install some kids games/apps on another account and tried exporting a list from the source account:

winget export -o "C:\list.txt"

Screenshot 2024-05-03 132730

This is what I see with winget list

Screenshot 2024-05-03 132804

When I go to the Store app Library, I see the same games listed, so I assume they can still be downloaded. I can still get a share link.

Screenshot 2024-05-03 132638

BTW, when I search the Store for the specific names, I don't see them listed.

Steps to reproduce

See above. Not sure if it's specifically reproducible unless you have these apps installed previously.

Expected behavior

I expect winget to export and list out the apps with the correct msstore packge IDs so I can reinstall them.

Actual behavior

winget either refuses to list them or lists them with something other than the correct msstore package ids.

Environment

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

Windows: Windows.Desktop v10.0.26100.268
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10861.0
github-actions[bot] commented 1 month ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

denelon commented 1 month ago

The Microsoft Store source has different policies for WinGet users via the command-line than the Microsoft Store client. In the WinGet output, you would see "msstore" in the source column if WinGet could associate an installed package with one coming from the store.