Visual Studio安装失败,因为超时时间已过期 [英] Visual Studio failed to install because the timeout period expired

查看:264
本文介绍了Visual Studio安装失败,因为超时时间已过期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是日志消息

[2a04:0010] [2017-01-05T01:20:02]软件包'Microsoft.VisualCpp.Redist.14,version = 14.10.24728,chip = x86'无法安装.执行命令:"C:\ ProgramData \ Microsoft \ VisualStudio \ Packages \ Microsoft.VisualCpp.Redist.14,version = 14.10.24728,chip = x86 \ VC_redist.x86.exe" /q/norestart/log C:\ Users \ somebody \ AppData \ Local \ Temp \ dd_setup_20170105011245_105_Microsoft.VisualCpp.Redist.14.log,返回代码:-2147023436,详细信息:由于超时时间已到期,此操作返回.

[2a04:0010][2017-01-05T01:20:02] Package 'Microsoft.VisualCpp.Redist.14,version=14.10.24728,chip=x86' failed to install. Command executed: "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.10.24728,chip=x86\VC_redist.x86.exe" /q /norestart /log C:\Users\somebody\AppData\Local\Temp\dd_setup_20170105011245_105_Microsoft.VisualCpp.Redist.14.log, Return code: -2147023436, Details: This operation returned because the timeout period expired.

有人知道为什么会这样吗?

Anyone has any idea why this is happening?


推荐答案

您好,

欢迎使用MSDN论坛.

其他人与您遇到了类似的问题,并在此处报告了该问题:

The other met the similar issue with you and reported it here: https://social.msdn.microsoft.com/Forums/vstudio/en-US/2ed4a457-82eb-4f86-9236-8dabbb5a85e7/visual-studio-failed-to-install-because-the-timeout-period-expired?forum=vssetup

您可以从C:\ ProgramData \ Microsoft \ VisualStudio \ Packages手动运行x86和x64 redist安装程序,然后重新启动PC,然后再次启动VS2017RC安装程序.

此外,请参阅Sven Aelterman提供的解决方案:

经过2周的尝试和故障排除,我终于弄清楚了造成此问题的原因.我使用Azure AD帐户登录,并且我的用户文件夹中有一个空格.

After 2 weeks of trying and troubleshooting, I finally figured out what caused this problem for me. I log in with an Azure AD account and my user folder has a space in it.

似乎VS安装程序没有正确转义导致此问题的日志路径名(无法访问父管道并连接到未提升的进程,因为在这里描述: http://stackoverflow.com/questions/24144720/wix-bootstrapper-will-not-update-error-0x800705b4

It appears that the VS installer is not properly escaping the log path name which causes this problem (not able to access parent pipe and connect to unelevated process, as described here: http://stackoverflow.com/questions/24144720/wix-bootstrapper-will-not-update-error-0x800705b4

我能够使用其中没有空格的(本地)帐户名成功安装VS 2017 RC.2.

此致,

乔伊斯


这篇关于Visual Studio安装失败,因为超时时间已过期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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