Share via

Cannot install SQL Server 2025 Express with WinGet

PtJade Ceramic 0 Reputation points
2026-02-26T08:21:03.1133333+00:00

Running the following script code:
winget install --id Microsoft.SQLServer.2025.Express -s winget

Echos the following message:
Microsoft (R) SQL Server Installer

Copyright (c) 2025 Microsoft. All rights reserved.

Operation finished with result: Failure

Oops...

-

Unable to install SQL Server (setup.exe). This SQL Server setup media does not support the language of the OS, or does not have the SQL Server English-language version installation files.Use the matching language-specific SQL Server media; or install both the language specific MUI and change the format and system locales through the regional settings in the control panel.

SQL SERVER INSTALL LOG FOLDER

C:\Program Files\Microsoft SQL Server\170\Setup Bootstrap\Log\20260226_155233

安装程序失败,退出代码为: 2227437582

SQL Server
SQL Server

A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.


1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-02-26T08:21:28.98+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error indicates that the SQL Server 2025 Express setup media being invoked by WinGet does not match the OS language, and the media does not contain the English-language setup files required for installation on the current Windows installation.

    To resolve the problem, use these supported approaches from the SQL Server setup guidance:

    1. Reacquire the installation media
      • Download the SQL Server 2025 Express image again from the original Microsoft location instead of relying only on the WinGet invocation.
      • After downloading, run the setup program directly from the local image (ISO/EXE) rather than from a possibly corrupted or mismatched package.
    2. Install from local media instead of network/indirect source
      • If the current installation is effectively being run over the network (or via a package manager that pulls from the network), copy or download the full SQL Server Express media to a local drive and run setup.exe from there.
    3. Ensure correct language support
      • If using a localized version of Windows and the SQL Server media does not match that language, use media that matches the OS language, or use media that explicitly contains the English-language installation files and specify English where supported.
      • For localized SQL Server versions, adjust OS regional settings to support the localized SQL Server language as documented in the SQL Server language support guidance. Installations of different language versions of SQL Server instances on the same computer are not supported.
    4. If the issue persists
      • Check the SQL Server setup logs already indicated in the message: C:\Program Files\Microsoft SQL Server\170\Setup Bootstrap\Log\20260226_155233
      • If re-downloading and running from local, language-appropriate media does not resolve the issue, treat it as a different installation problem and follow the general SQL Server installation and repair guidance.

    For more advanced scenarios (unattended or scripted installs), use the documented command-line parameters such as /ACTION, /ENU, and /IACCEPTSQLSERVERLICENSETERMS when invoking setup.exe directly, ensuring that the media and OS language combination is supported.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.