microsoft / microsoft/winget-cli

installed SQLServerManagementStudio in both versions, winget command for SSMS is don't work

Open
#3,055 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Brief description of your issue

Originally only version 18 of SSMS was installed, but today it was upgraded to install version 19 of SSMS. After that, I want to remove one of the versions of SSMS and find that the instructions for SSMS are no longer valid.

Steps to reproduce
  • winget upgrade -h --all
  • winget list Microsoft.SQLServerManagementStudio
  • winget list --name sql
  • winget uninstall Microsoft.SQLServerManagementStudio
  • winget uninstall -v 19.0.1 Microsoft.SQLServerManagementStudio

image

Expected behavior

winget command for "Microsoft.SQLServerManagementStudio" package is working.

Actual behavior

winget command for "Microsoft.SQLServerManagementStudio" package doesn't work by installing SQLServerManagementStudio in both versions.

Environment
winget --info
Windows 封裝管理員 v1.4.10173
Copyright (c) Microsoft Corporation. 著作權所有,並保留一切權利。

Windows: Windows.Desktop v10.0.22621.1194
系統架構: X64
包裹: Microsoft.DesktopAppInstaller v1.19.10173.0

記錄檔: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

使用者設定: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

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 by reproducing the behavior with the listed winget upgrade, list, and uninstall commands on the provided Windows environment, checking how both SSMS versions are identified. Done means the Microsoft.SQLServerManagementStudio package can be listed and the intended version can be uninstalled without the command installing or retaining both versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, shell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.