microsoft / microsoft/winget-cli

winget install wrong pacakge from msstore

Open
#4,025 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Brief description of your issue

I am trying to install the 'Visual Studio Code' using the msstore source but it installs 'Visual Studio Code - Insiders'.

Steps to reproduce
> winget install -s msstore "Visual Studio Code"
Expected behavior

winget install 'Visual Studio Code'

Actual behavior

winget install a different 'Visual Studio Code - Insiders'

> winget install -s msstore "Visual Studio Code"
Found Visual Studio Code - Insiders [XP8LFCZM790F6B] Version 1.84.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Agreements for Visual Studio Code - Insiders [XP8LFCZM790F6B] Version 1.84.0
Environment
Windows Package Manager (Preview) v1.7.2782-preview
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.2861
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.2782.0

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

Start with the winget install -s msstore "Visual Studio Code" command and reproduce the result using the reported Windows Package Manager version. Trace how the msstore source resolves that name and compare the selected package with the expected Visual Studio Code package. Done means the command selects Visual Studio Code rather than Visual Studio Code - Insiders.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.