使用WebpiCmdLine.exe安装SQLServer

时间:2011-09-13 09:03:52

标签: sql-server-2008

我尝试使用WebPICmdLine.exe安装SQLExpress超过3个小时。但它不是安装SQL。我附上了日志消息。 是否有任何先决条件要安装?

LOG MESSAGE:

Successfully loaded metadata from feed https://www.microsoft.com/web/webpi/3.0/webproductlist.xml 
Successfully loaded metadata from feed https://www.microsoft.com/web/webpi/3.0/webapplicationlist.xml 
Successfully loaded metadata from feed 

将产品SQLExpress添加到安装列表

The following software is going to be installed: 
EULA : 'SQL Server Express 2008 R2', which is owned by 'Microsoft', will be downloaded from 'http://go.microsoft.com/fwlink/?LinkID=186782&clcid=0x0409'. 
The license agreement to 'SQL Server Express 2008 R2' is available at 'http://www.microsoft.com/web/webpi/eula/sql_server_2008_r2_express.rtf'. 
Accepted Eulas. 
Started downloading products... 
Started downloading: SQLExpress 
DownloadedSQLExpress 
Started installing Products...  
Started installing: SQLExpress 
Install completed (Failure): SQL Server Express 2008 R2 
SQLExpress : Failed. 

验证安装成功...

SQL Server Express 2008 R2             False 
  Log Location: %programfiles%\Microsoft SQL Server\100\Setup Bootstrap\Log\Summary.txt 
Install of Products: FAILURE 
Verifying successful log generation... 
SQL Server Express 2008 R2 Logs :          False 
Creation of Product Logs: FAILURE 
Download count: 0 Mb, 0 sec 
Installation count: 1.36 Mb, 52 sec 
Products        , Down. Size, Inst. Time, Down. Time, Inst. Size, Log Size   
SQLExpress      , 58.17     , 52        , 0         , 1.36      , 0      
Total (download size/install time): 58.17 Mb, 52 sec 

1 个答案:

答案 0 :(得分:0)

这似乎是SQLExpress命令行安装的一个已知问题。基于这种交换(http://forums.iis.net/t/1177882.aspx),截至今年5月,似乎正在就此问题开展工作,但没有解决方案。

编辑:如果您愿意接受整个SQL Management Studio,那么这可行:

WebpiCmdLine.exe /Products:SQLExpressManagementStudio /AcceptEula