SQL Server 2012不会在高级安装程序11.4.1中静默安装 [英] SQL Server 2012 doesn't install silently in Advanced Installer 11.4.1

查看:116
本文介绍了SQL Server 2012不会在高级安装程序11.4.1中静默安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的程序需要SQL Server 2012 Express。因此,我在基于功能的位置添加了 Microsoft SQL Server 2012 Express,您可以在此处看到:

My program needs SQL Server 2012 Express. So I added "Microsoft SQL Server 2012 Express" in feature-based as you can see here :

我需要在没有任何向导安装的情况下在后台安装SQL Server Express,因此我将这些参数添加到了安装文件中:

I need to install the SQL Server Express in the background without any wizard installation so I added these parameters to my setup file :

SQLEXPR_x64_ENU.exe /qs /ACTION=Install /FEATURES=SQLENGINE 
      /INSTANCENAME=SQLEXPRESS /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM"      
      /SQLSYSADMINACCOUNTS="Builtin\Administrators"     
      /AGTSVCACCOUNT="NT AUTHORITY\Network Service" 

I添加了这些参数以安装命令行文本框。如您所见:

I added these parameters to install command lines textboxes. As you can see here:

< img src = https://i.stack.imgur.com/XdEF5.jpg alt =在此处输入图片描述>

但是当我生成项目并安装安装文件,但未安装SQL Server Express-为什么?

But when I build the project and install the setup file, SQL Server Express doesn't get installed - why?

最诚挚的问候

推荐答案

由于其自身的安装程序在计算机上所做的更改,因此无法将SQL Server作为基于功能的先决条件进行安装。在Advanced Installer的在线用户指南中,您可以找到其他与您的应用程序一起安装SQL Server Express的选项

You cannot install SQL Server as a feature-based prerequisite because of the changes its own installer does on the machine. In the online user guide from Advanced Installer you can find a guide on other options to install SQL Server Express with your application

这篇关于SQL Server 2012不会在高级安装程序11.4.1中静默安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆