microsoft / microsoft/winget-pkgs
[Package Issue]: Microsoft.SQLServer.2022.Developer Installer failed with exit code: 2226914986
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- Avg merge
- 1h 32m
- Merged PRs (30d)
- 616
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
Installation of Microsoft.SQLServer.2022.Developer fails on my machine. The output is not very helpful, it seems that something went wrong with the packaging? The cause is that "Microsoft OLE DB Driver for SQL Server" is already installed on the system, and for unexpected reasons the SQL Server setup cannot deal with it.
### Steps to reproduce
1. Install "Microsoft OLE DB Driver for SQL Server"
2. Run `winget install Microsoft.SQLServer.2022.Developer`
### Actual behavior
```
Microsoft (R) SQL Server Installer
Copyright (c) 2022 Microsoft. All rights reserved.
Operation finished with result: Failure
Oops...
\
Unable to install SQL Server (setup.exe).
Exit code (Decimal): -2068052310
Error description: An installation package for the product Microsoft OLE DB Driver for SQL Server cannot be found. Try the installation again using a valid copy of the installation package 'msoledbsql.msi'.
SQL SERVER INSTALL LOG FOLDER
Installer failed with exit code: 2226914986
```
### Expected behavior
```
Operation finished with result: Success
Installation has completed successfully!
INSTANCE NAME
MSSQLSERVER
SQL ADMINISTRATORS
DESKTOP-CAG7JOG\Simon
FEATURES INSTALLED
SQLENGINE
VERSION
16.0.1000.6, RTM
CONNECTION STRING
Server=localhost;Database=master;Trusted_Connection=True;
SQL SERVER INSTALL LOG FOLDER
C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log\20250528_150403
INSTALLATION MEDIA FOLDER
C:\SQL2022\Developer_ENU
INSTALLATION RESOURCES FOLDER
C:\Program Files\Microsoft SQL Server\160\SSEI\Resources
Successfully installed
```
### Environment
```raw
Windows Package Manager v1.10.390
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26100.4061
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.25.390.0
Winget Directories
---------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Di…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\se…
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%\OneDrive - iru.ch\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
[Log files.zip](https://github.com/user-attachments/files/20486141/Log.files.zip)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with `winget install Microsoft.SQLServer.2022.Developer` after installing Microsoft OLE DB Driver for SQL Server. Inspect the attached Log files.zip and determine whether the package metadata or SQL Server setup causes the missing `msoledbsql.msi` error; done means identifying a confirmed remediation or documenting the required upstream fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- databases, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100