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

圖片來自網絡/圖文無關

前言

今天接到領導佈置的一個任務,是之前同事負責的項目。離職了,現在客戶有些地方需要修改,由於我之前參與過,就落在我的頭上了。

然後我就把代碼弄了過來,打開發現其中需要用到水晶報表。(我覺得不好用,不想佔用多餘的磁盤空間,就沒有安裝)

想想算了,大不了重新添加一下就完事了唄。

一開始都還好,沒有什麼問題。

等安裝到"SQL Server 運行時(X64)"時,彈了一個文件查找對話框:

在安裝了Visual Studio 2008 Service Pack 1之後,添加或移除功能Visual Studio可能會提示SQLSysClrTypes.msi相關文字信息如下 :

安裝程序在查找SQLSysClrTypes.msi文件. 請現在插入Microsoft Visual Studio Team System 2008 Team Suite – CHS 磁盤1.

如果你安裝的是Visual Studio 2008 Professional 版本或者其他版本或者是語言包提示的文字信息可能會有一些不同。

我開始以爲是要SQL Server 安裝文件下的SQLSysClrTypes.msi文件,試了試,不行。

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

於是,就上網找了一下,結果就找到了這篇文章: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 Files\Microsoft 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中的文件夾然後點擊“確認”按鈕,不要選擇剛剛新建的“wcu\smo”文件夾。
    以我爲例就是:C:\Program Files (x86)\Microsoft Visual Studio 9.0\Microsoft 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 Files\Microsoft 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 “wcu\smo” directory you created.

  13. Click the OK button on the dialog prompt.


OK,本文就介紹到這裏。
如果你有更好的方法,煩請告知。

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

發佈了51 篇原創文章 · 獲贊 2 · 訪問量 7萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章