1

我们运行我们在安装后在安装过程中的错误:如何使用Visual Studio 2010安装和部署部署Office 2010加载项?

Component Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64) has failed to install with the following error message:

"A failure occurred attempting to install the Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)."

The following components failed to install:

  • Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)

See the setup log file located at 'C:\Users\***\AppData\Local\Temp\VSD831C.tmp\install.log' for more information.

日志文件返回:

Verifying file integrity of C:\Users\***\AppData\Local\Temp\VSD831C.tmp\VSTOR40\vstor40_x64.exe

WinVerifyTrust returned -2146869232

File not trusted

Installing using command 'C:\Users\***\AppData\Local\Temp\VSD831C.tmp\VSTOR40\vstor40_x64.exe' and parameters ' /q:a /c:"install /q /l"'

Process exited with code 536870913

Status of package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' after install is 'InstallFailed'

如何进行成功安装了Office 2010的加载项?

UPDATE:好的你的答案,但目标是与我测试的安装程序部署应用程序。所以最终用户会和我有同样的错误。目标是避免在Visual Studio 2010中的安装配置中出现此错误。如何在安装程序中添加VSTO 4运行时并获取无错误?

回答

3

它可能是微软的bug。他们发布了导致错误的安装程序的未签名版本: WinVerifyTrust返回-2146762496。文件未签名。

我不确定它是否有助于您的情况。我修复的是从Microsoft downloads website下载新版本。 该错误的完整描述可在此处获得: VSTO Runtime installation error

1

你是用高架私人住宅安装吗?这可能是WinVerifyTrust不信任vstor40_x64.exe的原因。

要检查的第二件事是,如果按顺序安装 - 首先是.NET运行时(3.51或4.0,取决于加载项),然后是vstor40_x86.exe或vstor40_x64.exe(取决于客户机x86或x64),那么你的解决方案。

如果不是这么简单,请查看Troubleshooting Office Solution Deployment和/或Troubleshooting ClickOnce Deployments(如果您使用的是ClickOnce)。

+0

安装程序以管理员权限运行。 .NET运行时版本是4.0,并且在安装时正确安装。 – Crae 2010-07-12 08:19:03

相关问题