microsoft / microsoft/winget-cli

The Microsoft Store source is added even if the Microsoft Store isn't available.

Open
#1,558 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature msstore
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

If you're on a version of Windows that doesn't have the Microsoft Store (LTSC, Server, the weird build Sandbox runs), winget adds the Microsoft Store source even though you can't use it since you can't sign in.

Steps to reproduce

  1. Install winget on Windows Sandbox (or real LTSC).
  2. Run winget install solitaire.
  3. Note that it doesn't work since you aren't signed in.
  4. Try to go sign in, and remember that you don't have the Microsoft Store so you can't do that.

Expected behavior

Either the Microsoft Store source won't be added at all so the searches make more sense, or it will do the install without auth (as that's the same behavior that the Microsoft Store app has for free apps).

Actual behavior

image

Environment

[winget --info]

Windows: Windows.Desktop v10.0.22000.194
Package: Microsoft.DesktopAppInstaller v1.16.12653.0

Any other software?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the issue with winget install solitaire on Windows Sandbox or an affected LTSC system, then trace how the Microsoft Store source is added and how authentication is handled. Done means the source is not offered when the Store is unavailable, or the described unauthenticated free-app install works.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.