当直接运行SQLEXPRADV_x64_ENU.exe时,SQL安装中心显示出来,我可以安装SQLEXPRESS。 我想执行自动命令行安装,所以我已经完成了SQLEXPRADV_x64_ENU.exe / X将文件解压缩到我的USB驱动器。 我没有运气安装从命令行运行或不知道如何排除故障。 在C:\ Program Files \ Microsoft SQL Server \ 110 \ Setup Bootstrap \ Log中没有生成日志。
命令行:
“D:#Setup Large Software Packages \ SQLEXPRADV \ setup.exe”/ qs / ACTION = Install / IAcceptSQLServerLicenseTerms / INSTANCENAME = SQLEXPRESS / ROLE = ALLFeatures_WithDefaults / ADDCURRENTUSERASSQLADMIN
结果:
Description: Stopped working Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: scenarioengine.exe Problem Signature 02: 11.0.2100.60 Problem Signature 03: 4f35e1de Problem Signature 04: mscorlib Problem Signature 05: 2.0.0.0 Problem Signature 06: 4fee6afb Problem Signature 07: 366d Problem Signature 08: 10 Problem Signature 09: System.ArgumentNullException OS Version: 6.2.9200.2.0.0.272.7 Locale ID: 1033 Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=190175 If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt
批处理终止时,我得到如下:
Unhandled Exception: System.ArgumentNullException: Value cannot be null. Parameter name: path1 at System.IO.Path.Combine(String path1, String path2) at Microsoft.SqlServer.Chainer.Setup.Setup.PreloadAssemblies() at Microsoft.SqlServer.Chainer.Setup.Setup.Main()
我遵循:
BLOG:SQL 2012无人参与安装脚本 – 不起作用。
MSDN:从命令提示符安装SQL Server 2012 – 100年的选项可能花费一年玩它们。
从SQLEXPRADV_x64_ENU.exe中提取文件后,将SQLEXPRESS与ALLfunction一起安装的正确命令行是什么?
看起来像从SQLEXPRADV_x64_ENU.exe爆炸的文件有问题。 现在尝试几次后,它接缝工作。