安装 VS2008 HRESULT -2147023293 失败解决方法

我机器系统为 Win2003 Server,之前安装了 Office 2010,今天安装VS2008时出现了如下错误信息:

[08/31/11,09:30:07] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
[08/31/11,09:30:08] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Web 创作组件 is not installed.
[08/31/11,09:30:08] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 2.0 SP2 was not attempted to be installed.
[08/31/11,09:30:08] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 3.5 was not attempted to be installed.
[08/31/11,09:30:08] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库) was not attempted to be installed.
[08/31/11,09:30:08] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime was not attempted to be installed.
[08/31/11,09:30:08] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime 语言包 was not attempted to be installed.
[08/31/11,09:30:08] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库)语言包 - CHS was not attempted to be installed.
[08/31/11,09:30:08] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 was not attempted to be installed.
[08/31/11,09:30:08] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 设计工具 was not attempted to be installed.
[08/31/11,09:30:09] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 For Devices was not attempted to be installed.
[08/31/11,09:30:09] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Pocket PC was not attempted to be installed.
[08/31/11,09:30:09] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Smartphone was not attempted to be installed.
[08/31/11,09:30:09] VS70pgui: [2] DepCheck indicates Microsoft Device Emulator 3.0 版 was not attempted to be installed.
[08/31/11,09:30:09] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Tools (x86) was not attempted to be installed.
[08/31/11,09:30:09] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 标头和库(x86) was not attempted to be installed.
[08/31/11,09:30:09] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Win32 Tools (x86) was not attempted to be installed.
[08/31/11,09:30:09] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools (x86) was not attempted to be installed.
[08/31/11,09:30:09] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 SDK 引用程序集和 IntelliSense (x86) was not attempted to be installed.
[08/31/11,09:30:10] VS70pgui: [2] DepCheck indicates Microsoft SQL 发布向导 was not attempted to be installed.
[08/31/11,09:33:42] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
[08/31/11,09:33:42] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Web 创作组件 is not installed.
[08/31/11,09:33:42] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 2.0 SP2 was not attempted to be installed.
[08/31/11,09:33:42] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 3.5 was not attempted to be installed.
[08/31/11,09:33:42] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库) was not attempted to be installed.
[08/31/11,09:33:42] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime was not attempted to be installed.
[08/31/11,09:33:42] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime 语言包 was not attempted to be installed.
[08/31/11,09:33:42] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库)语言包 - CHS was not attempted to be installed.
[08/31/11,09:33:42] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 was not attempted to be installed.
[08/31/11,09:33:43] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 设计工具 was not attempted to be installed.
[08/31/11,09:33:43] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 For Devices was not attempted to be installed.
[08/31/11,09:33:43] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Pocket PC was not attempted to be installed.
[08/31/11,09:33:43] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Smartphone was not attempted to be installed.
[08/31/11,09:33:43] VS70pgui: [2] DepCheck indicates Microsoft Device Emulator 3.0 版 was not attempted to be installed.
[08/31/11,09:33:43] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Tools (x86) was not attempted to be installed.
[08/31/11,09:33:44] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 标头和库(x86) was not attempted to be installed.
[08/31/11,09:33:44] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Win32 Tools (x86) was not attempted to be installed.
[08/31/11,09:33:44] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools (x86) was not attempted to be installed.
[08/31/11,09:33:44] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 SDK 引用程序集和 IntelliSense (x86) was not attempted to be installed.
[08/31/11,09:33:44] VS70pgui: [2] DepCheck indicates Microsoft SQL 发布向导 was not attempted to be installed.
[08/31/11,09:44:06] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
[08/31/11,09:44:06] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Web 创作组件 is not installed.
[08/31/11,09:44:07] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 2.0 SP2 was not attempted to be installed.
[08/31/11,09:44:07] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 3.5 was not attempted to be installed.
[08/31/11,09:44:07] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库) was not attempted to be installed.
[08/31/11,09:44:07] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime was not attempted to be installed.
[08/31/11,09:44:07] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime 语言包 was not attempted to be installed.
[08/31/11,09:44:07] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库)语言包 - CHS was not attempted to be installed.
[08/31/11,09:44:07] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 was not attempted to be installed.
[08/31/11,09:44:07] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 设计工具 was not attempted to be installed.
[08/31/11,09:44:07] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 For Devices was not attempted to be installed.
[08/31/11,09:44:07] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Pocket PC was not attempted to be installed.
[08/31/11,09:44:07] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Smartphone was not attempted to be installed.
[08/31/11,09:44:08] VS70pgui: [2] DepCheck indicates Microsoft Device Emulator 3.0 版 was not attempted to be installed.
[08/31/11,09:44:08] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Tools (x86) was not attempted to be installed.
[08/31/11,09:44:08] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 标头和库(x86) was not attempted to be installed.
[08/31/11,09:44:08] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Win32 Tools (x86) was not attempted to be installed.
[08/31/11,09:44:08] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools (x86) was not attempted to be installed.
[08/31/11,09:44:08] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 SDK 引用程序集和 IntelliSense (x86) was not attempted to be installed.
[08/31/11,09:44:08] VS70pgui: [2] DepCheck indicates Microsoft SQL 发布向导 was not attempted to be installed.
[08/31/11,09:48:47] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
[08/31/11,09:48:48] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Web 创作组件 is not installed.
[08/31/11,09:48:48] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 2.0 SP2 was not attempted to be installed.
[08/31/11,09:48:48] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 3.5 was not attempted to be installed.
[08/31/11,09:48:48] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库) was not attempted to be installed.
[08/31/11,09:48:48] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime was not attempted to be installed.
[08/31/11,09:48:48] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime 语言包 was not attempted to be installed.
[08/31/11,09:48:48] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库)语言包 - CHS was not attempted to be installed.
[08/31/11,09:48:48] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 was not attempted to be installed.
[08/31/11,09:48:48] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 设计工具 was not attempted to be installed.
[08/31/11,09:48:48] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 For Devices was not attempted to be installed.
[08/31/11,09:48:48] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Pocket PC was not attempted to be installed.
[08/31/11,09:48:49] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Smartphone was not attempted to be installed.
[08/31/11,09:48:49] VS70pgui: [2] DepCheck indicates Microsoft Device Emulator 3.0 版 was not attempted to be installed.
[08/31/11,09:48:49] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Tools (x86) was not attempted to be installed.
[08/31/11,09:48:49] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 标头和库(x86) was not attempted to be installed.
[08/31/11,09:48:49] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Win32 Tools (x86) was not attempted to be installed.
[08/31/11,09:48:50] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools (x86) was not attempted to be installed.
[08/31/11,09:48:50] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 SDK 引用程序集和 IntelliSense (x86) was not attempted to be installed.
[08/31/11,09:48:50] VS70pgui: [2] DepCheck indicates Microsoft SQL 发布向导 was not attempted to be installed.

在网上找到了解决方案:
1、把vs2008镜像文件下的\WCU\WebDesignerCore\WebDesignerCore.EXE 手动解压到一个地方(注意解压出来的文件夹里面有个Office.zh-cn)
2、找一个Office 2007光盘或光盘镜像,找到Office.zh-cn文件夹,把该文件夹复制,然后覆盖到上一步解压中的Office.zh-cn中
3、在第一步解压出来的文件中有个setup.exe,双击运行,好像是安装vs web 开发什么注意,只要能安装就行
4、上一步安装完后再运vs2008的setup.exe


以上步骤要注意的是,虽然我的机器安装的是 Office 2010,我开始想用 Office 2010 的 Office.zh-cn 去替换 WebDesignerCore 解压后的 Office.zh-cn,这样做是不行的,直到后面用 Office 2007 的 Office.zh-cn 去替换才成功

原文作者:程序员天堂

原文地址:http://www.cnblogs.com/forads/archive/2011/08/31/2161074.html

你可能感兴趣的:(HRESULT)