安裝環境:
windows xp sp2 英文版
visual studio 2008 中文專業版
sliverlight 2 beta 2
安裝 Microsoft Silverlight Tools Beta 2 for Visual Studio 2008 中文版時出現如下錯誤
“install.res.????.dll錯誤”
看了網上的 http://silverlight.net/forums/p/18404/61902.aspx 上的文章後,我下載了英文版的
Microsoft Silverlight Tools Beta 2 for Visual Studio 2008 安裝。
安裝又出現錯誤:
An Error Has Occurred:
Silverlight Tools cannot be installed because one or more of the following conditions is true:
1. Visual Studio 2008 RTM is not installed.
2. The Web Authoring feature of Visual Studio is not installed.
3. A previous version of the Silverlight Runtime is installed.
4. A previous version of the Silverlight SDK is installed.
5. The Visual Studio Update KB949325 is installed.
6. A previous version of Silverlight Tools is installed.
To continue, please install or uninstall the appropriate products and run this installer again.
看來 作業系統,VS2008, SilverLight 三者的語言一致不會出現問題,要麼都是中文,要麼都是英文的。
改天試一試英文版的VS2008。
待續。。。
後來找到文章 http://www.cnblogs.com/netgodcn/archive/2008/04/16/1156112.html ,
用“silverlight”關鍵詞搜尋了C:盤和註冊表,發現安裝了SDK,
C:\Program Files\Microsoft SDKs\Silverlight\v2.0\
而控制台中的“添加刪除程式”裡沒有silverlight sdk的跡象。
手工刪除檔案夾:
C:"Program Files"Microsoft Silverlight"
C:"Program Files"Microsoft SDKs"Silverlight"
手工刪除註冊表中的silverlight鍵,發現太多了,把所有的都刪掉了,還是無法安裝。
後來我卸載了中文版的VS2008,安裝了英文版的vs2008,再裝Tools for VS2008可以裝上。