用于Office运行时安装的Visual Studio 2010工具失败 [英] Visual Studio 2010 Tools for Office Runtime Installation failure

查看:331
本文介绍了用于Office运行时安装的Visual Studio 2010工具失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI, 


 安装失败,错误代码为1601.我研究了这段代码,但没有得到任何答案这将解决我的问题。完整的日志粘贴在下面。任何帮助将不胜感激。 



已设置以下属性:

属性:[AdminUser] = true {boolean}

属性:[InstallMode] = SameSite {string}

属性:[NTProductType] = 1 {int}

属性:[ProcessorArchitecture] = AMD64 {string}

属性:[VersionNT] = 6.1。 1 {version}

运行检查程序包'用于Office运行时的Microsoft Visual Studio 2010工具(x86和x64)',阶段BuildList

阅读值注册表项'HKLM \ SOFTWARE \ Microsoft \\\ VSTO Runtime Setup \v4''


读取字符串值'10 .0.40820'

设置值'10 .0.40820 {string}'用于属性'VSTORuntimeVersionOfficeInstalled'

读取值'版本'的注册表项'HKLM \ SOFTWARE \ Microsoftoft \ VSTO运行时设置\ v4R'
无法读取注册表值

未设置属性值'VSTORuntimeVersionInstalled'

已设置以下属性对于用于Office运行时的Microsoft Visual Studio 2010工具(x86和x64)':

属性:[VSTORuntimeVersionOfficeInstalled] = 10.0.40820 {string}

运行检查命令'VSTOR401 \vstor_redist.exe'

跳过ByPassIf因为未定义属性'VSTORuntimeVersionInstalled'

运行运算符的结果属性'VSTORuntimeVersionOfficeInstalled'上的'VersionGreaterThanOrEqualTo'和值'10 .0.60724':false

在属性'AdminUser'上运行运算符'ValueEqualTo'并且值'false'的结果:false

检查命令'VSTOR401 \vstor_redist.exe'的结果是'安装'

'用于Office Runt的Microsoft Visual Studio 2010工具ime(x86和x64)'RunCheck结果:需要安装

EULA用于组件的Microsoft Visual Studio 2010 Office Runtime工具(x86和x64)'被接受。

将文件复制到临时目录"C:\Users \rchand02 \ AppData \ Local \Temp \ VSD6BD2.tmp \"

复制从'C:\ Users \rchand02 \Downloads\UnifyOffice_x86 \VSTOR401 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\ VSTOR401 \vstor_redist.exe'

验证C:\ Users \rchand02 \ AppData \ Local \Temp \ VSD6BD2.tmp \ VSTOR401 \的文件完整性vstor_redist.exe

WinVerifyTrust返回0

文件可信

运行检查包'Microsoft Visual Studio 2010 Office运行时工具(x86和x64)',阶段BeforePackage

阅读价值注册表项'HKLM \ SOFTWARE \ Microsoft \\\ VSTO Runtime Setup \v4''


读取字符串值'10 .0.40820'

设置值'10 .0.40820 {string}'用于属性'VSTORuntimeVersionOfficeInstalled'

读取值'版本'的注册表项'HKLM \ SOFTWARE \ Microsoftoft \ VSTO运行时设置\ v4R'

无法读取注册表值

未设置属性值'VSTORuntimeVersionInstalled'

已为包"Microsoft Visual Studio 2010 Office运行时工具(x86和x64)"设置了以下属性:

属性:[VSTORuntimeVersionOfficeInstalled] = 10.0.40820 {string}

运行检查命令'VSTOR401 \vstor_redist.exe'

跳过ByPassIf,因为未定义属性'VSTORuntimeVersionInstalled'

运行运算符'Versi的结果onGreaterThanOrEqualTo'on property'VSTORuntimeVersionOfficeInstalled'和value '10 .0.60724':false

在属性'AdminUser'上运行运算符'ValueEqualTo'的结果和值'false':false

检查命令'VSTOR401 \vstor_redist.exe'的结果是'安装'

'用于Office运行时的Microsoft Visual Studio 2010工具(x86和x64)' RunCheck结果:需要安装

验证C:\ Users \rchand02 \ AppData \ Local \Temp \ VSD6BD2.tmp \ VSTOR401 \vstor_redist.exe的文件完整性

WinVerifyTrust返回0

文件信任


使用命令'C:\ Users\rchand02安装\ AppData \ Local \Temp \ VSD6BD2.tmp \ VSTOR401 \\ _vstor_redist.exe'和参数'/ q / norestart'

流程已退出,代码为1601

包"Microsoft Visual St。"的状态安装后的udio 2010 Office运行时工具(x86和x64)是'InstallFailed'

解决方案

嗨Ravio211,


>>安装失败,错误代码为1601


您是如何安装VSTO运行时的?您是否下载VSTO运行时包并手动安装它,或者在安装Office加载项时预先安装VSTO运行时?如果你能分享我们你在
时的详细信息以及你如何得到这个错误,那会很有帮助吗?根据我的理解,当您安装Visual Studio和Microsoft Office时,将自动安装VSTO运行时。如果要安装VSTO运行时可重新分发,则需要成为开发
计算机的管理员。您可以参考
如何:为Office Runtime Redistributable安装Visual Studio工具
更多信息。


根据对错误代码1601的研究,以下信息可能对您有用。


错误代码1061:Windows安装程序无法访问通常表示Windows Installer服务失败或损坏。


请尝试以下步骤修复Windows安装程序服务。


1.重新启动Windows Installer服务。


(1)点击开始,在搜索框中输入 services.msc ,然后按
输入


(2)向下滚动到 Windows Installer 条目在"服务"列表中,双击它。


(3)单​​击"常规"选项卡,然后单击
开始按钮。点击应用,然后确定


(4)尝试安装 vstor_redist.exe ,如果不起作用,请尝试后续步骤。


2.重新注册Windows Installer服务


(1)点击开始菜单,在搜索框中输入
cmd ,然后按 Enter


(2)在提示符下键入 msiexec / unregister 并按
输入


(3)输入<在命令提示符处输入strong> msiexec / register 并按
输入


(4)退出Windows并重新启动计算机。


(5)的Insta ll vstor_redist.exe 。如果它也不起作用,请单击
此处以重新安装Windows安装程序服务。


最诚挚的问候,


爱德华


HI, 

 the installation is failing with error code 1601. I researched this code but did not get any answers that would fix my problem. complete logs are pasted below. any help of this will be appreciated. 

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = SameSite {string}
Property: [NTProductType] = 1 {int}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 6.1.1 {version}
Running checks for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\SOFTWARE\Microsoft\VSTO Runtime Setup\v4'
Read string value '10.0.40820'
Setting value '10.0.40820 {string}' for property 'VSTORuntimeVersionOfficeInstalled'
Reading value 'Version' of registry key 'HKLM\SOFTWARE\Microsoft\VSTO Runtime Setup\v4R'
Unable to read registry value
Not setting value for property 'VSTORuntimeVersionInstalled'
The following properties have been set for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)':
Property: [VSTORuntimeVersionOfficeInstalled] = 10.0.40820 {string}
Running checks for command 'VSTOR401\vstor_redist.exe'
Skipping ByPassIf because Property 'VSTORuntimeVersionInstalled' was not defined
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VSTORuntimeVersionOfficeInstalled' and value '10.0.60724': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of checks for command 'VSTOR401\vstor_redist.exe' is 'Install'
'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' RunCheck result: Install Needed
EULA for components 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' was accepted.
Copying files to temporary directory "C:\Users\rchand02\AppData\Local\Temp\VSD6BD2.tmp\"
Copying from 'C:\Users\rchand02\Downloads\UnifyOffice_x86\VSTOR401\vstor_redist.exe' to 'C:\Users\rchand02\AppData\Local\Temp\VSD6BD2.tmp\VSTOR401\vstor_redist.exe'
Verifying file integrity of C:\Users\rchand02\AppData\Local\Temp\VSD6BD2.tmp\VSTOR401\vstor_redist.exe
WinVerifyTrust returned 0
File trusted
Running checks for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)', phase BeforePackage
Reading value 'Version' of registry key 'HKLM\SOFTWARE\Microsoft\VSTO Runtime Setup\v4'
Read string value '10.0.40820'
Setting value '10.0.40820 {string}' for property 'VSTORuntimeVersionOfficeInstalled'
Reading value 'Version' of registry key 'HKLM\SOFTWARE\Microsoft\VSTO Runtime Setup\v4R'
Unable to read registry value
Not setting value for property 'VSTORuntimeVersionInstalled'
The following properties have been set for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)':
Property: [VSTORuntimeVersionOfficeInstalled] = 10.0.40820 {string}
Running checks for command 'VSTOR401\vstor_redist.exe'
Skipping ByPassIf because Property 'VSTORuntimeVersionInstalled' was not defined
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VSTORuntimeVersionOfficeInstalled' and value '10.0.60724': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of checks for command 'VSTOR401\vstor_redist.exe' is 'Install'
'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' RunCheck result: Install Needed
Verifying file integrity of C:\Users\rchand02\AppData\Local\Temp\VSD6BD2.tmp\VSTOR401\vstor_redist.exe
WinVerifyTrust returned 0
File trusted
Installing using command 'C:\Users\rchand02\AppData\Local\Temp\VSD6BD2.tmp\VSTOR401\vstor_redist.exe' and parameters ' /q /norestart'
Process exited with code 1601
Status of package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' after install is 'InstallFailed'

解决方案

Hi Ravio211,

>> the installation is failing with error code 1601

How did you install VSTO runtime? Do you download VSTO runtime package and install it manually or you pre-install VSTO runtime when you install your Office add-ins? It would be helpful if you could share us your detail steps about when and how you get this error? Based on my understanding, VSTO runtime will be installed automatically when you install Visual Studio and Microsoft Office. If you want to install VSTO runtime redistributeable, you need to be an administrator on the development computer. You could refer How to: Install the Visual Studio Tools for Office Runtime Redistributable for more information.

Based on researching about Error code 1601, the information below might be useful to you.

Error code 1061: Windows installer is not accessible generally represents the Windows Installer Service fails or becomes corrupted.

Try the following steps to fix windows installer service.

1.Restart the Windows Installer Service.

(1)Click Start, type services.msc in the search box and press Enter.

(2)Scroll down to the Windows Installer entry in the Services list and double-click it.

(3)Click the General tab and then click the Start button. Click Apply and then OK.

(4)Attempt to install vstor_redist.exe, if it doesn’t work, try next steps.

2.Reregister the Windows Installer Service

(1)Click the Start menu, type cmd in the search box and press Enter.

(2)Type msiexec /unregister at the prompt and press Enter.

(3)Type msiexec /register at the command prompt and press Enter.

(4)Log out of Windows and restart the computer.

(5)Install vstor_redist.exe. If it doesn’t work either, click here to reinstall the windows installer service.

Best Regards,

Edward


这篇关于用于Office运行时安装的Visual Studio 2010工具失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆