1

好的,首先我要为我的小难题提供一些背景知识。最近我一直在尝试让 VC++ 2010 Express 以 x64 平台为目标(它不附带 x64 编译器)。我遵循了各种建议和设置方法,但我似乎无法让它发挥作用。我最近了解到 Windows 7.1 SDK 的 SP1 更新(你知道,应该有我需要的编译器的那个)删除了 x64 编译器。因此,我从 Microsoft 站点获得了 kb 编译器修复程序并尝试安装它,但我不断收到安装错误:

- 汇总错误(已折叠)。

产品上的 CleanupBlock (RemoveProduct) 失败(Microsoft Visual C++ 编译器 2010 标准 - enu - x86)。Msi 日志:Windows SDK v7.1_20120310_152656264-{2F8B731A-5F2D-3EA8-8B25-C3E5E43F4BDB}-RemoveProduct.txt 的 Visual C++ 2010 SP1 编译器更新最终结果:安装失败,错误代码:(0x80070643),安装过程中出现致命错误。

-错误日志(扩展)。

Action: Downloading Items
Action complete
Action: Performing actions on all Items
Entering Function: IronSpigot::BaseMspInstaller::PerformAction
Entering Function: IronSpigot::CleanupBlockInstaller::PerformMsiOperation
Action: RemoveProduct - {81455DEB-FC7E-3EE5-85CA-2EBDD9FD61EB}
Action complete ({81455DEB-FC7E-3EE5-85CA-2EBDD9FD61EB})
Action: RemoveProduct - {AC917391-EEBA-3240-81FF-1E9EC0D49403}
Action complete ({AC917391-EEBA-3240-81FF-1E9EC0D49403})
Action: RemoveProduct - Microsoft Visual C++ Compilers 2010 Standard - enu - x86
Returning IDOK. INSTALLMESSAGE_ERROR [Error 1324.The folder path 'Program Files' contains an invalid character.]
CleanupBlock (RemoveProduct) failed on product (Microsoft Visual C++ Compilers 2010 Standard - enu - x86). Msi Log: Visual C++ 2010 SP1 Compiler Update for Windows SDK v7.1_20120310_152656264-{2F8B731A-5F2D-3EA8-8B25-C3E5E43F4BDB}-RemoveProduct.txt
Return value - 0x643
Action complete. Log File: C:\Users\David\AppData\Local\Temp\Visual C++ 2010 SP1 Compiler Update for Windows SDK v7.1_20120310_152656264-{2F8B731A-5F2D-3EA8-8B25-C3E5E43F4BDB}-RemoveProduct.txt
failed
PerformMsiOperation returned 0x643
PerformMsiOperation returned 0x643
Final Result: Installation failed with error code: (0x80070643), Fatal error during installation. 
Action complete

我知道这是某种路径错误,但我不知道是什么。现在,我知道您可能会说:“重新安装所有内容”。

但我已经按照推荐的顺序做了......两次。

  1. 安装 VC++ 2010 Express。
  2. 安装 Windows 7.1 SDK。3) 安装
  3. Windows 7.1 SDK 的 SP1 更新。
  4. 为 SP1 安装编译器更新/补丁 (kb)。

...我仍然设法得到同样的错误。

请注意,我必须这样做,因为 64 位编译器不包含在 VC++ 2010 Express 中。当我尝试在 Visual C++ 2010 Express 中定位 x64 位平台时,出现以下错误:

1>Error: The "ConfigurationGeneral" rule is missing from the project.

最重要的是,除非我将目标平台更改为标准 win32 x86,否则它基本上会将我的属性页变为空白。我正在运行具有 8 GB RAM 和 i7 4 内核的 Windows 7 64 位家庭高级版。谁能帮我吗?

另外一点,我已经尝试过谷歌,并确保在安装 kb 修复之前的三个设置时取消选中“编译器”复选框。现在是星期六,我从上午 11:00 开始一直在做这件事,现在是下午 3:40,我要把我的钻机扔到墙上。我必须在周日晚上之前解决这个问题,因为我周一到周五都要上学,如果我不得不在这上面再花一个周六,我认为我不能让自己不发疯。

4

0 回答 0