在最初失败的下载后尝试安装VisualStudio 2017社区时抛出异常 [英] Exception thrown when attempting to install VisualStudio 2017 Community following an initially failed download

查看:79
本文介绍了在最初失败的下载后尝试安装VisualStudio 2017社区时抛出异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我不得不取消安装时,我最初安装了Visual Studio 2017:社区版。我也卸载了安装程序在我的程序列表中创建的任何内容。



我第二天回来再安装它,但是在运行引导程序之后看到装载栏爬升到100%,没有任何反应。我估计由于旧的安装程序文件,启动安装程序时出现了一些问题。所以
我删除了%TEMP%,\ AppData \ Local \ microsoftoft \ Visual Studio中的所有现有文件,Programfiles(x86)中没有文件。



在此之后我用CCleaner运行了一个完整的注册表清理(我知道它不是最好的,但这是我当时的全部)。这删除了一些从初始安装中闲置的注册表项。然后我完全重新启动了。 
$


遗憾的是,这并没有解决问题,因此我将日志定位在%TEMP%之内。我已将完整的日志文件附加到此帖子,但我会在此处显示例外概述以便于查看:
$


   错误信息

    AppInsightsEvent Name = vs / setup / bootstrapper / error描述= CultureNotFoundException

    TelemetrySession = '3566ebd3-60e4-4191-973c-9854f8b2fc96'Startting = True OptIn = True IsInitialized = True Cloned = False

    UTC时间= 2017-07-13T08:54:43



您可在此处找到完整日志:[日志文件] [1]



我无法在VS安装方面找到与此例外有关的任何内容,只有.NET特定的开发问题。由于我已经用尽了许多我所知道的解决这个问题的途径,所以我非常感谢其他人可以提供的
其他人的见解。





  [1]:https://hastebin.com/vijavejezo.pas

解决方案

嗨KeekoTheFirst,


>>在此之后我使用CCleaner运行完整的注册表清理


我们通常不建议用户使用CClenaer,而不仅仅是VS相关的注册表项,但是一些其他系统注册表项也将被删除。安装bootstapper文件丢失或损坏。


请参考
< span style ="padding:0in; border:1pt windowtext; color:#1382ce; text-decoration:none">为Visual Studio 2017创建离线安装程序
 到
使用完整资源制作离线安装程序,然后执行VS 2017安装。


最好的问候,




I initially was installing visual studio 2017: Community edition when I had to cancel the installation. I also uninstalled whatever the installer had created on my list of programs.

I came back the next day to have another go at installing it, however after running the bootstrapper and seeing the loading bar climb to 100%, nothing happened. I reckoned that it was having some issues starting the installer due to old installer files. So I deleted all existing files in %TEMP%, \AppData\Local\Microsoft\VisualStudio, there was no files in Programfiles(x86).

After this i ran a full Registry cleanup with CCleaner (I know it's not the best, but it's all I had at the time). This removed some registry entries that were hanging around from the initial installation. I then done a full reboot. 

Sadly this did not resolve the issue, so I located the logs within %TEMP%. I have attached the full log file to this post but I will show the exception overview here for ease of viewing:

    Error Information
    AppInsightsEvent Name = vs/setup/bootstrapper/error Description = CultureNotFoundException
    TelemetrySession = '3566ebd3-60e4-4191-973c-9854f8b2fc96' Started = True OptIn=True IsInitialized = True Cloned = False
    UTC time = 2017-07-13T08:54:43

You can find the full log here: [Log File][1]

I have been unable to find anything relating to this exception in regards to the VS installation, only .NET specific development problems. Since I have exhausted many of the avenues I know of to troubleshoot this, I would greatly appreciate any insight that others may be able to provide.


  [1]: https://hastebin.com/vijavejezo.pas

解决方案

Hi KeekoTheFirst,

>>After this i ran a full Registry cleanup with CCleaner

We usually don't recommend users to use the CClenaer, not only VS related registry key, but some other system registry key will also be deleted. The setup bootstapper file is missing or corrupted.

Please refer to Create an offline installer for Visual Studio 2017 to make an offline installer with full resource, then perform a VS 2017 installation then.

Best Regards,


这篇关于在最初失败的下载后尝试安装VisualStudio 2017社区时抛出异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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