简体   繁体   English

静默安装 SQL Server 2014 Express

[英]Silent install of SQL Server 2014 Express

I write a program and I want to create an installation file that install my app and SQL Server 2014 Express with my instance name and install .net 3.5 in silent mode.我编写了一个程序,我想创建一个安装文件,用我的实例名称安装我的应用程序和 SQL Server 2014 Express,并在静默模式下安装 .net 3.5。

I'm trying to make my installation file with "Advanced installer" and "Installshield", but I can not install that silently.我正在尝试使用“高级安装程序”和“Installshield”制作我的安装文件,但我无法静默安装。

If you know how I can do that, please help me.如果你知道我该怎么做,请帮助我。

Thanks谢谢

Thanks for you're answer.谢谢你的回答。 I can do this with Command Prompt .我可以用Command Prompt做到这一点。 I use advance installer and I put SQL Server in Pre-install at Prerequisites and write in Install Command Lines我使用高级安装程序,并将 SQL Server 置于 Pre-install 中的 Prerequisites 并在 Install Command Lines 中写入

/q /IACCEPTSQLSERVERLICENSETERMS /ACTION=Install /FEATURES=SQLEngine /INSTANCENAME=SQLEXPRESS /UpdateEnabled=False /SECURITYMODE=SQL /SAPWD=Trv_Trv

Like this像这样

if you want to show progress bar you should write /qs instead of /q if you wand to use SQL authentication you should use /SECURITYMODE=SQL and write passworl like /SAPWD=[You're password]如果你想显示进度条你应该写 /qs 而不是 /q 如果你想使用 SQL 身份验证你应该使用 /SECURITYMODE=SQL 并像 /SAPWD=[You're password] 这样写密码

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

相关问题 以静默方式安装SQL Server Express版 - Install SQL Server Express edition in silent mode SQL Express 2014静默安装不适用于C# - SQL Express 2014 silent installation not working with C# 以无提示模式安装SQL Server Express 2008以及C#应用程序 - Install SQL Server Express 2008 in Silent mode along with a C# application 找不到SQL Server Express 2014的数据库 - Cannot find Database for SQL Server Express 2014 无法连接到SQL Server 2014 Express - Can't connect to SQL Server 2014 Express 使用存储过程或C#同步SQL Server 2014和SQL Server 2014 Express数据库 - Sync SQL Server 2014 and SQL Server 2014 Express database using stored procedure or C# 如何以编程方式备份​​SQL Server 2014 Express Localdb(.mdf)文件 - How to backup a SQL Server 2014 Express Localdb (.mdf) file programmatically 使用本地帐户登录时无法连接到SQL Server Express 2014 - Unable to connect to SQL Server Express 2014 when signed in with local account 无法从Visual Studio 2012连接到SQL Server Express 2014 - Cannot connect to SQL Server Express 2014 from Visual Studio 2012 SQL Server 2008 R2静默安装的连接字符串 - Connection string of SQL Server 2008 R2 silent install
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM