[vs2008]Visual Studio 2008 SP1添加或删除功能提示查找SQLSysClrTypes.msi文件

图片来自网络/图文无关

前言

今天接到领导布置的一个任务,是以前同事负责的项目。离职了,如今客户有些地方须要修改,因为我以前参与过,就落在个人头上了。sql

而后我就把代码弄了过来,打开发现其中须要用到水晶报表。(我以为很差用,不想占用多余的磁盘空间,就没有安装)网络

想一想算了,大不了从新添加一下就完事了呗。visual-studio

一开始都还好,没有什么问题。ui

等安装到"SQL Server 运行时(X64)"时,弹了一个文件查找对话框:this

在安装了Visual Studio 2008 Service Pack 1以后,添加或移除功能Visual Studio可能会提示SQLSysClrTypes.msi相关文字信息以下 :spa

安装程序在查找SQLSysClrTypes.msi文件. 请如今插入Microsoft Visual Studio Team System 2008 Team Suite – CHS 磁盘1.翻译

若是你安装的是Visual Studio 2008 Professional 版本或者其余版本或者是语言包提示的文字信息可能会有一些不一样。blog

我开始觉得是要SQL Server 安装文件下的SQLSysClrTypes.msi文件,试了试,不行。图片

接着,找了visual studio 2008 service pack中的SQLSysClrTypes.msi文件,仍是不行。ip

因而,就上网找了一下,结果就找到了这篇文章:Feature Changes in Visual Studio 2008 SP1 may prompt for SQLSysClrTypes.msi

按照这里介绍的方法,确实可行,如今我就用我这渣渣级的英语大概翻译一下,若有错误,还请指出。

解决方法

我是Windows 10系统,安装的是Microsoft Visual Studio Team System 2008 Team Suite – CHS。

  1. 若是你没有下载Visual Studio 2008 Service Pack 1 ,请先下载。

  2. 解压下载的 VS2008 SP1文件并打开文件夹,进入到子目录vs90sp1中。

  3. 在 SQLSysClrTypes.msi文件右键复制

  4. 打开文件资源管理器 (例如: Windows 键 + 字母E) ,进入到Visual Studio 2008的安装目录。默认的是 “C:Program FilesMicrosoft Visual Studio 9.0”(32位系统)或者是“C:Program Files (x86)Microsoft Visual Studio 9.0” (64位系统)。

  5. 在目录中找到安装的Visual Studio产品名称并双击进入。(以我为例就是: “Microsoft Visual Studio Team System 2008 Team Suite – CHS”)。

  6. 在窗口空白处右键 新建-文件夹,输入文件夹名称 “wcu” (没有引号)。

  7. 双击打开新建的“wcu”文件夹。

  8. 在窗口空白处右键 新建-文件夹,输入文件夹名称 “smo” (没有引号)。

  9. 双击打开新建的“smo”文件夹。

  10. 在窗口空白处右键 粘贴

  11. 在提示要求 SQLSysClrTypes.msi对话框, 点击 浏览 按钮.

  12. 展开文件夹定位到步骤5中的文件夹而后点击“确认”按钮,不要选择刚刚新建的“wcusmo”文件夹。
    以我为例就是:C:Program Files (x86)Microsoft Visual Studio 9.0Microsoft Visual Studio Team System 2008 Team Suite - CHS

  13. 在提示对话框中点击肯定按钮。


原文以下

  1. Download a complete layout of VS2008 SP1 if you haven’t already.

  2. Open the directory were you copied VS2008 SP1.

  3. Right click on SQLSysClrTypes.msi and select Copy.

  4. Open an Explorer window (ex: Windows key + E) and browse to the directory where you installed Visual Studio 2008. By default this is “C:Program FilesMicrosoft Visual Studio 9.0” where C: is your system drive.

  5. Double click on the folder that corresponds to the name of the product you installed (ex: “Microsoft Visual Studio Team System 2008 Team Suite – ENU”).

  6. Right click on empty space in the window, click New, then Folder, and type “wcu” (without quotes).

  7. Double click that new “wcu” folder to open it.

  8. Right click on empty space in the window, click New, then Folder, and type “smo” (without quotes).

  9. Double click that new “smo” folder to open it.

  10. Right click on empty space in the window and click Paste.

  11. In the dialog prompt requesting SQLSysClrTypes.msi, click the Browse button.

  12. Expand folders to select the directory you opened in step 5 and click the OK button. Do not select the “wcusmo” directory you created.

  13. Click the OK button on the dialog prompt.


OK,本文就介绍到这里。
若是你有更好的方法,烦请告知。

原文来自:[vs2008]Visual Studio 2008 SP1添加或删除功能提示查找SQLSysClrTypes.msi文件

相关文章
相关标签/搜索