SQL Server 2012 doesn't install silently in Advanced Installer 11.4.1

独自空忆成欢 提交于 2019-12-13 06:00:38

问题


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

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 added these parameters to install command lines textboxes. As you can see here:

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

Best regards


回答1:


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



来源:https://stackoverflow.com/questions/32483104/sql-server-2012-doesnt-install-silently-in-advanced-installer-11-4-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!