简体   繁体   English

SQL Server Express - 静默安装以不支持的语言结束

[英]SQL Server Express - silent installation ends on unsupported language

I'm using command SQL2019-SSEI-Expr.exe /q /IACCEPTSQLSERVERLICENSETERMS to install SQL Server 2019 Express.我正在使用命令SQL2019-SSEI-Expr.exe /q /IACCEPTSQLSERVERLICENSETERMS安装 SQL Server 2019 Express。 The installation ends with:安装结束于:

Your language čeština (Česko) (cs-CZ) is not supported. Continue in English?

See this for more information: https://learn.microsoft.com/sql/sql-server/install/local-language-versions-in-sql-server

For more information use /? or /Help.

I found parameter /ENU我找到参数/ENU

Use this parameter to install the English version of SQL Server on a localized operating system when the installation media includes language packs for both English and the language corresponding to the operating system.当安装介质包含英语和与操作系统对应的语言的语言包时,使用此参数在本地化操作系统上安装英语版本的 SQL 服务器。

No matter what combination I choose the installation will end the same.无论我选择什么组合,安装都会以相同的方式结束。 I've tried so far:到目前为止我已经尝试过:

SQL2019-SSEI-Expr.exe /q /IACCEPTSQLSERVERLICENSETERMS /ENU=true
SQL2019-SSEI-Expr.exe /q /IACCEPTSQLSERVERLICENSETERMS /ENU=True
SQL2019-SSEI-Expr.exe /q /IACCEPTSQLSERVERLICENSETERMS /ENU=false
SQL2019-SSEI-Expr.exe /q /IACCEPTSQLSERVERLICENSETERMS /ENU=False

SQL2019-SSEI-Expr.exe /q /IACCEPTSQLSERVERLICENSETERMS /ENU="true"
SQL2019-SSEI-Expr.exe /q /IACCEPTSQLSERVERLICENSETERMS /ENU="True"
SQL2019-SSEI-Expr.exe /q /IACCEPTSQLSERVERLICENSETERMS /ENU="false"
SQL2019-SSEI-Expr.exe /q /IACCEPTSQLSERVERLICENSETERMS /ENU="False"

SQL2019-SSEI-Expr.exe /q /IACCEPTSQLSERVERLICENSETERMS /ENU
SQL2019-SSEI-Expr.exe /q /IACCEPTSQLSERVERLICENSETERMS /ENU=0
SQL2019-SSEI-Expr.exe /q /IACCEPTSQLSERVERLICENSETERMS /ENU=1

What am I missing?我错过了什么? How to proceed english installation without end-user interaction?如何在没有最终用户交互的情况下进行英文安装?

Thanks to AlwyasLearning I figured a solution:感谢AlwyasLearning我想出了一个解决方案:

  1. execute SQL2019-SSEI-Expr.exe /Action=Download /MediaType=Core , SQLEXPR_x64_ENU.exe will be downloaded执行SQL2019-SSEI-Expr.exe /Action=Download /MediaType=Core ,将下载SQLEXPR_x64_ENU.exe
  2. run SQLEXPR_x64_ENU.exe manunaly, just to extract to subfolder SQLEXPR_x64_ENU手动运行SQLEXPR_x64_ENU.exe ,只是为了提取到子文件夹SQLEXPR_x64_ENU
  3. from the subfolder SQLEXPR_x64_ENU execute SETUP.EXE /q /IACCEPTSQLSERVERLICENSETERMS /ENU /Action=Install从子文件夹SQLEXPR_x64_ENU执行SETUP.EXE /q /IACCEPTSQLSERVERLICENSETERMS /ENU /Action=Install

To add to pburgr's answer, because StackOverflow won't let me comment (great), at step 2, for unattended installations, run:要添加到 pburgr 的答案,因为 StackOverflow 不会让我评论(很好),在第 2 步,对于无人值守的安装,运行:

SQLEXPR_x64_ENU.exe /q /x:SQLEXPR_x64_ENU

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM