microsoft / microsoft/winget-pkgs
[Package Issue]: Microsoft.SQLServerManagementStudio.22
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- PR merge metrics
- PR metrics pending
Description
### Please confirm these before moving forward
- [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- [x] I have not been informed if the issue is resolved in a preview version of the winget client.
### Category of the issue
Installation issue.
### Brief description of your issue
Trying to upgrade MSSMS from 21 to 22 via winget results in an error.
```
❯ winget list SSMS
Name Id Version Available Source
-----------------------------------------------------------------------------------------------
SQL Server Management Studio 21 Microsoft.SQLServerManagementStudio.22 21.6.17 22.0.0 winget
❯ winget upgrade Microsoft.SQLServerManagementStudio.22
Found Microsoft SQL Server Management Studio 22 [Microsoft.SQLServerManagementStudio.22] Version 22.0.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.
Downloading https://download.visualstudio.microsoft.com/download/pr/d3b4e0f6-4bc0-4ec0-ba9c-20b355d61cc4/b50e52759454345ab17bdafcb40774f9bc635cf8fd933dacc4097909f3dbccf7/vs_SSMS.exe
██████████████████████████████ 4.20 MB / 4.20 MB
Successfully verified installer hash
Starting package install...
The installer will request to run as administrator. Expect a prompt.
Installer failed with exit code: 1
```
### Steps to reproduce
1. Install MSSMS 21 via "manual" install
2. Try to update to version 22 with command `winget upgrade Microsoft.SQLServerManagementStudio.22`
3. When asked for administrator prompt, accept
### Actual behavior
Installer window will close, winget will error with `Installer failed with exit code: 1`
### Expected behavior
Installation succeeds
### Environment
```raw
Windows Package Manager v1.12.350
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26200.7623
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.27.350.0
Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
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
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules
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 Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy Disabled
```
### Screenshots and Logs
WinGet-2026-01-19-17-45-43.845.log: https://pastebin.com/5zR0rqUC
Contributor guide
Research direction
Start by reproducing the upgrade from SQL Server Management Studio 21 to 22 with the reported winget command, then inspect the linked WinGet log for the installer failure details. Compare the package information for Microsoft.SQLServerManagementStudio.22 with the reported environment; done means the upgrade completes successfully instead of returning exit code 1.
Written by the indexing model from the issue text.
Assessment
- Domain
- devtools, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100