SQL命令行实用程序安装 [英] SQL Command Line Utils install

查看:214
本文介绍了SQL命令行实用程序安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台机器不接受SQL命令行utils install。 我试图安装2008r2命令行utils。 客户端就好了(sqlncli.msi),但是utils install(SqlCmdLnUtils.msi)一直说它无法解决
客户端的先决条件。

I have 1 machine that won't accept the SQL command line utils install.  I was trying to install the 2008r2 command line utils.  It took the client just fine (sqlncli.msi) but the utils install (SqlCmdLnUtils.msi) keeps saying it can't fine the client prerequisite.

所以我决定请尝试使用2012命令行utils。 它再次接受了ODBC 11(msodbcsql.msi),但是utils(MsSqlCmdLnUtils.msi)声称它不能完善ODBC的先决条件。

So I decided to try the 2012 command line utils instead.  Again it accepted the ODBC 11 (msodbcsql.msi) yet the utils (MsSqlCmdLnUtils.msi) claims it can't fine the ODBC prerequisite.

我重新启动了机器而且没有'解决它。 它是最新的Windows 7 64位。 使用的所有安装程序都是64位版本。

I've rebooted the machine and that doesn't fix it.  It's up to date Windows 7 64bit.  All installers used are the 64 bit version.

我认为它无法在注册表中找到任何内容,如果我知道它想要什么,我会假装它,但我不知道我知道为什么会抱怨。

I assume that it's unable to find something in the registry, and if I knew what it wanted I'd go fake it, but I don't know why it's whining.

作为旁注,2008r2命令行工具安装并在不同的机器上工作得很好(这只会增加它不安装在这个上的挫折感一个)群组。另一台机器是Windows Server 2008 64位。

As a side note, the 2008r2 command line utils installed and work great on a different machine (which just adds to the frustration that it doesn't install on this one).  The other machine is Windows Server 2008 64bit.

我没有看到有人说他们无法在网上安装它。 我看到一些找不到SqlCmd.exe,因为它不会自动阻塞到PATH中,但是我没有看到任何安装了先决条件的人,安装程序也看不到
。 / p>

I don't see anyone else saying they can't get it installed online.  I see a few that couldn't find SqlCmd.exe because it doesn't automatically jam itself into the PATH, but I don't see anyone where the prerequisite is installed and the installer can't see it.

推荐答案

我决定用日志记录运行msi。

On a whim I decided to run the msi with logging.

MsSqlCmdLnUtils.msi / qf / log installer.log

MsSqlCmdLnUtils.msi /qf /log installer.log

我清理了用户/计算机名称文件。

I cleansed the file of user/computer names.

文件链接
http://s000.tinyupload.com/?file_id=88994605808053187143

我认为将47k插入到代码块中看起来不太好。

I figured it wouldn't look pretty inserting 47k into a code block.

我从日志中得到的唯一有趣的一点是它抱怨Tahoma8 。

The only interesting bit I get out of the log is that it complains about Tahoma8.

屏幕截图显示ODBC安装正常。

A screenshot showing that the ODBC is installed OK.


这篇关于SQL命令行实用程序安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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