vs2008 安装出错 Microsoft Visual Studio Web 组件安装失败

错误日志:

 
  1. [08/02/10,12:39:38] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.  
  2. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Web 创作组件 is not installed.  
  3. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 2.0 SP2 was not attempted to be installed.  
  4. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 3.5 was not attempted to be installed.  
  5. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库) was not attempted to be installed.  
  6. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime was not attempted to be installed.  
  7. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime 语言包 was not attempted to be installed.  
  8. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库)语言包 - CHS was not attempted to be installed.  
  9. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 was not attempted to be installed.  
  10. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 设计工具 was not attempted to be installed.  
  11. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 For Devices was not attempted to be installed.  
  12. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Pocket PC was not attempted to be installed.  
  13. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Smartphone was not attempted to be installed.  
  14. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft Device Emulator 3.0 版 was not attempted to be installed.  
  15. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Crystal Reports Basic for Visual Studio 2008 was not attempted to be installed.  
  16. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Crystal Reports Basic for Visual Studio 2008 语言包 was not attempted to be installed.  
  17. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Tools (x86) was not attempted to be installed.  
  18. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 标头和库(x86) was not attempted to be installed.  
  19. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Win32 Tools (x86) was not attempted to be installed.  
  20. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools (x86) was not attempted to be installed.  
  21. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 SDK 引用程序集和 IntelliSense (x86) was not attempted to be installed.  
  22. [08/02/10,12:39:38] VS70pgui: [2] DepCheck indicates Microsoft SQL 发布向导 was not attempted to be installed.   

解决方法:

1、找到vs2008的安装镜像文件H:/WCU/WebDesignerCore/WebDesignerCore.EXE, 使用winrar解压到硬盘的任意地方,其中有个文件夹office.zh-cn。

2、下载一个office2007的安装镜像文件,其中也有一个office.zh-cn文件夹,用它覆盖第一步中找到的文件夹。

3、运行在第一步解压的文件夹中的setup.exe

4、重新运行vs2008的安装程序。

本文转载自http://blog.csdn.net/guopengzhang/article/details/5782532

原文地址:https://www.cnblogs.com/king1302217/p/2932296.html