views:

219

answers:

1

We have an error during the installation after running our installation:

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.

The log file return:

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'

How proceed to install successfully our Office 2010 add-in?

UPDATE: Ok for your answers but the goal is to deploy the app with the installer I test. So the end-user will have the same error as me. The goal is to avoid this error in the setup configuration in Visual Studio 2010. How can I add VSTO 4 runtime in the installer and obtain no error?

+2  A: 

It may be Microsoft bug. They have released un-signed version of the installer that throws error: WinVerifyTrust returned -2146762496. File not signed.

I'm not sure if it will help in your case. The fix for me was to download new version from Microsoft downloads website . The full description of the bug is available here: VSTO Runtime installation error

Woj

related questions