今天重安装系统,安装VS2008死活安装不上,报如下错误:
查看安装日志,会有如下信息 [10/05/20,16:54:57] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293. [10/05/20,16:54:57] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Web Authoring Component is not installed. [10/05/20,16:54:57] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Team System 2008 Team Suite - ENU was not attempted to be installed. [10/05/20,16:54:57] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 was not attempted to be installed. [10/05/20,16:54:57] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 Design Tools was not attempted to be installed. [10/05/20,16:54:57] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2008 Remote Debugger (x64) was not attempted to be installed. [10/05/20,16:54:57] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Tools (x64) was not attempted to be installed. [10/05/20,16:54:57] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Headers and Libraries (x64) was not attempted to be installed. [10/05/20,16:54:57] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Win32 Tools (x64) was not attempted to be installed. [10/05/20,16:54:57] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools (x64) was not attempted to be installed. [10/05/20,16:54:57] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 SDK Reference Assemblies and IntelliSense (x64) was not attempted to be installed. [10/05/20,16:54:57] VS70pgui: [2] DepCheck indicates Microsoft SQL Publishing Wizard was not attempted to be installed.
看到网上有几篇文章说是和Office2007有点扯不清的关系
https://www.cnblogs.com/Activer/archive/2008/03/03/1089260.html
https://www.cnblogs.com/forads/archive/2011/08/31/2161074.html
这两篇文章都要找office2007的ISO安装文件,我偷一下懒,直接把VS2008安装盘中WCU\WebDesignerCore\WebDesignerCore.exe复制出来解压,然后再以管理员身份运行其中的setup.exe程序,居然安装成功!
再运行VS2008安装程序顺利安装程序,不需要从office2007.ISO中提取文件!