[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文件

相關文章
相關標籤/搜索