简体   繁体   English

Visual Studio 2019 安装程序无法启动

[英]Visual Studio 2019 Installer doesn't start

I'm using Windows 10 ver.我正在使用 Windows 10 版本。 1909. Installer hangs or does nothing. 1909. 安装程序挂起或什么都不做。 No feedback.没有反馈。

I had exactly this problem.我正是这个问题。 Same version of Windows 10. I tried both vs_community.exe and vs_professional.exe.相同版本的 Windows 10。我尝试了 vs_community.exe 和 vs_professional.exe。 On a Microsoft Surface Pro 4. The installer launches, a brief unpacking screen appears, that vanishes, and you're left with the task manager showing the installer but no user interface.在 Microsoft Surface Pro 4 上。安装程序启动时,会出现一个简短的解包屏幕,然后消失,任务管理器会显示安装程序,但没有用户界面。 I tried numerous different suggestions from Googling as well as the Collect.exe tool.我从谷歌搜索以及 Collect.exe 工具中尝试了许多不同的建议。 None of that helped.这些都没有帮助。 Someone had a similar problem that hinted that a display could cause the problem.有人有类似的问题,暗示显示器可能会导致问题。 My Surface had Duet installed, which allows you to use an iPad as a second monitor.我的 Surface 安装了 Duet,它允许您使用 iPad 作为第二台显示器。 Uninstalling that allowed Visual Studio to install normally.卸载允许 Visual Studio 正常安装。 Apparently the Visual Studio installer is finicky about displays so if you have any unusual display drivers, or screen sharing utilities, they should be removed to allow installing.显然,Visual Studio 安装程序对显示器很挑剔,因此如果您有任何不寻常的显示驱动程序或屏幕共享实用程序,则应将其删除以允许安装。 I suspect that the driver or utility could be put back after installation.我怀疑驱动程序或实用程序可以在安装后放回。

At first you need to download this tool Event Collect for visual studio , open your CMD as administrator,then run Collect.exe , after that you need to run your visual studio installer in the event of an error you will find and file named C:\Users{username}\AppData\Local\Temp\VSSetupEvents.txt that you can check to see the error messages.首先你需要下载这个工具Event Collect for Visual Studio ,以管理员身份打开你的CMD ,然后运行Collect.exe ,之后你需要运行你的Visual Studio安装程序,如果出现错误,你会发现文件名为C: \Users{username}\AppData\Local\Temp\VSSetupEvents.txt ,您可以检查以查看错误消息。

For more details you can check documentation .有关更多详细信息,您可以查看文档

In my case, the issue was that I have downloaded and launched the installer to a user folder that contains non-English characters.就我而言,问题是我已将安装程序下载并启动到包含非英文字符的用户文件夹。 Moving the installer to another folder fixed the issue.将安装程序移动到另一个文件夹解决了这个问题。 I´ve diagnosed the issue by looking into an installer log file in C:\Users<username>\AppData\Local\Temp\dd_vs_professional__143315035.1628536728_decompression_log.txt.我通过查看 C:\Users<username>\AppData\Local\Temp\dd_vs_professional__143315035.1628536728_decompression_log.txt 中的安装程序日志文件来诊断问题。

My case is very embarrassing for Microsoft.我的案子让微软很尴尬。 I downloaded Visual Studio Setup and started it right away from browser.我下载了 Visual Studio 安装程序并立即从浏览器中启动它。 It was opened and then immediately closed.它被打开,然后立即关闭。 Nothing I could read on the Internet about this problem was not helping.我在互联网上读到的关于这个问题的任何信息都没有帮助。 Then I did one very simple thing.然后我做了一件非常简单的事情。 Moved setup from original location: C:\Users(user name)\Downloads, to c:\Temp -> worked like a charm.将设置从原始位置:C:\Users(user name)\Downloads 移动到 c:\Temp -> 就像一个魅力。 The thing is that my user name contains international characters (plus containing a space).问题是我的用户名包含国际字符(加上包含空格)。 All in all 21. century, full unicode support everywhere, but not in windows.总而言之,21 世纪,全面支持 unicode 无处不在,但不在 windows 中。 Really embarrassing.真的很尴尬。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio安装程序项目未运行安装程序类 - Visual studio installer project doesn't run installer class Visual Studio 2019 未检测到任何 .net SDK - Visual Studio 2019 doesn't detect any .net SDKs MonoBehavior 方法未在 Visual Studio 2019 中显示 - MonoBehavior methods doesn't shown at visual studio 2019 Mysql 和 Visual Studio 2019 for macOS 之间的连接不起作用 - Conenection between Mysql and Visual Studio 2019 for macOS doesn't work 有人征服了VS2019中的Visual Studio安装程序项目吗? - Has anyone conquered the Visual Studio installer project in VS2019? Visual Studio 2019 安装程序项目警告:无法更新项目的依赖项 - Visual Studio 2019 Installer Project WARNING: Unable to update the dependencies of the project Windows 10 Visual Studio 2019 IIS Express 无法启动并出现错误 500 - Windows 10 Visual Studio 2019 IIS Express won't start with error 500 C#Visual Studio 2010无法开始调试 - C# Visual Studio 2010 doesn't start debugging Visual Studio:部署后调试器无法启动应用 - visual studio: debugger doesn't start app after deploy 为什么我的 Visual Studio Community 2019 在 Debug &gt; Windows 下没有 Modules 选项以及如何修复它? - Why my Visual Studio Community 2019 doesn't have the Modules option under Debug > Windows and how to repair it?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM