SQL Server 2012 - 如何为静默安装生成配置文件? [英] SQL Server 2012 - How to generate a configuration file for silent installation?

查看:171
本文介绍了SQL Server 2012 - 如何为静默安装生成配置文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请你在投票给我之前阅读这个问题。



问题很简单,我甚至在这里找到了纯微软的答案:



插入SQL Server安装媒体。从根文件夹中,双击Setup.exe。要从网络共享安装,请在共享上找到根文件夹,然后双击Setup.exe。

按照向导进入准备安装页面。 配置文件的路径在配置文件路径部分的准备安装页面中指定。有关如何安装SQL Server的详细信息,请参阅从安装向导安装SQL Server 2012(安装程序)。

取消设置而不实际完成安装,生成INI文件
< br $> b $ b

它对我没有帮助。

我下载了SQL Server 2012的快速版本,运行setup.exe。检查每个选项并按照向导完成...并且:没有准备安装页面!



(图片链接:http://oi39.tinypic.com/29zzwur.jpg [ ^ ])



我点击下一步,然后繁荣......安装开始后。但是,好吧..也许安装后会有一个名为ConfigurationFile.ini的配置文件。所以我等了整个过程..

没什么。我今天尝试了3次,完整版,最小版本两次。我的桌面上没有这样的文件:/





我真正的(双重)问题是:什么是goin'on ?!并且在哪里可以找到这个秘密的准备安装页面或至少是ConfigurationFile.ini?



请不要回答必须有某个地方:/



PS。对不起图片尺寸







PS2。安装后有摘要文件。我查了一下,有这样的事:



介于中间的某个地方:



Please, before you downvote me, read this question.

Question is simple, I even found the pure microsoft answer here:

Insert the SQL Server installation media. From the root folder, double-click Setup.exe. To install from a network share, locate the root folder on the share, and then double-click Setup.exe.
Follow the wizard through to the Ready to Install page. The path to the configuration file is specified in the Ready to Install page in the configuration file path section. For more information about how to install SQL Server, see Install SQL Server 2012 from the Installation Wizard (Setup).
Cancel the setup without actually completing the installation, to generate the INI file


It doesn't help me at all.
I downloaded express version of SQL Server 2012, run setup.exe. Check every option and "follow the wizard through"... and: no Ready to Install page!

(link for image: http://oi39.tinypic.com/29zzwur.jpg[^])

I click next and boom... after that Install started. But, ok.. maybe after installation there will be somewhere config file named "ConfigurationFile.ini". So I've wait the whole process..
nothing. I've tried 3 times today, with full version, "smallest" version twice. There is not such a file on my desktop:/


My real (double)question is: What is goin' on?! and where EXACTLY can I find this secret "Ready to install" page or at least ConfigurationFile.ini?

And please don't answer "There must be somewhere" :/

PS. Sorry for the image size



PS2. After installation there is Summary file. I checked it and there is sth like this:

somewhere in the middle:

CLTSTARTUPTYPE:                0
CLTSVCACCOUNT:                 <empty>
CLTSVCPASSWORD:                <empty>
CLTWORKINGDIR:                 <empty>
COMMFABRICENCRYPTION:          0
COMMFABRICNETWORKLEVEL:        0
COMMFABRICPORT:                0
CONFIGURATIONFILE:
CTLRSTARTUPTYPE:               0
CTLRSVCACCOUNT:                <empty>
CTLRSVCPASSWORD:               <empty>
CTLRUSERS:                     <empty>





和最后:



配置文件:C:\Program Files\Microsoft SQL Server \110\Setup Bootstrap\Log\20140121_000805\ConfigurationFile.ini



但是......在这个目的地没有ConfigurationFile.ini。有dir,但里面没有文件:/



and at the end:

Configuration file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140121_000805\ConfigurationFile.ini

BUT.. there is no ConfigurationFile.ini at this destination. There is dir, but no file inside:/

推荐答案

这是解决方案......



如果您有SQL Server 2012 EXPRESS版本,并且希望从安装过程中获取ConfigurationFile.ini,则必须:



1)运行下载的exe,这将将setup.exe解压缩到C:/ 231231231231 ... sth



2)取消安装。通过cmd去那个目录。



3)在cmd中运行:

setup.exe / ACTION = INSTALL / UIMODE = Normal



Express Edition在AutoAdvance中运行,它会跳过准备安装和一般的ConfigurationFile ..不确定原因。
Here is the solution...

When you have SQL Server 2012 EXPRESS edition, and you want to get ConfigurationFile.ini from your installation process, you have to:

1) Run downloaded exe, which will unpack your setup.exe to C:/231231231231...sth

2) Cancel installation. Go to that dir via cmd.

3) In cmd run:
setup.exe /ACTION=INSTALL /UIMODE=Normal

Express edition is run in AutoAdvance which skips "Ready to install" and ConfigurationFile in general.. not sure why.


这篇关于SQL Server 2012 - 如何为静默安装生成配置文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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