今天在安裝VS.NET2008的時候,出錯中斷了,查看日誌發現出現如下錯誤:
[04/27/10,08:36:02] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
[04/27/10,08:36:02] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Web Authoring Component is not installed.
在網上查了下,發現是安裝Web Authoring Component ,中文也叫Web創作組件的時候出錯,導致整個VS.NET2008無法繼續安裝下去。
在網上看到有人說:
Use winzip or winrar to open DVD Drive:\WCU\WebDesignerCore\WebDesignerCore.EXE
Extract to a temp directory and run the extracted setup.exe
This should successfully install the Web Authoring Component
After successful installation
Try visual studio 2008 setup again
可是我試了下,WebDesignerCore.exe報系統中存在office2007之前的程序,安裝無法繼續。
看來VS.NET2007無法安裝是和系統中存在office 2007之前的版本有關係。原先我以爲是我電腦上只安裝了OFFICE 2003的緣故。但有幸在網上看到另外一篇文章,得知可能是電腦上存在office 2007的beta版本的某些程序導致。
具體解決如下:
1.下載Windows Installer 清理實用工具(http://support.microsoft.com/kb/290301/zh-cn)
2.安裝Windows Installer 清理實用工具,並執行。
3.找到名字爲office 2007 beta的項目,執行remove。
4.重新安裝VS.NET 2008,搞定!