Visual Studio 2019社区版安装程序无法启动

时间:2019-05-25 03:22:57

标签: visual-studio installer

我试图升级我的Visual Studio 2019社区版,但是Visual Studio安装程序无法启动。

我尝试了很多事情,包括卸载现有版本,使用脱机版本等,但是现在我最终没有可用的Visual Studio版本。

这是引导程序的日志:

Beginning of the log. Start Time: 2019-05-25 10:04:39
VisualStudio Bootstrapper:2019-05-25 10:04:40: Commandline arguments = --env,_SFX_CAB_EXE_PACKAGE:E:\Download\vs_community.exe _SFX_CAB_EXE_ORIGINALWORKINGDIR:E:\Download
VisualStudio Bootstrapper:2019-05-25 10:04:40: Parent process name = vs_community
VisualStudio Bootstrapper:2019-05-25 10:04:40: Parent process product version = 16.1.28922.388
VisualStudio Bootstrapper:2019-05-25 10:04:40: CampaignId = 
VisualStudio Bootstrapper:2019-05-25 10:04:40: ResponseId not available in 'vs_setup_bootstrapper.config'. Trying to parse filename.
VisualStudio Bootstrapper:2019-05-25 10:04:40: loading config settings: -update --update --layout -offline --offline --locale --layout --originalworkingdir --installLayoutPath --env
VisualStudio Bootstrapper:2019-05-25 10:04:45: DownloadURL = https://aka.ms/vs/16/release/installer
VisualStudio Bootstrapper:2019-05-25 10:04:45: InstallLocation = C:\Program Files (x86)\Microsoft Visual Studio\Installer
VisualStudio Bootstrapper:2019-05-25 10:04:45: OfflineFilePath = 
VisualStudio Bootstrapper:2019-05-25 10:04:45: LayoutLocation = 
VisualStudio Bootstrapper:2019-05-25 10:04:45: ExecutableArguments = /finalizeInstall install --in "C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_setup_bootstrapper_201905251004409923.json" --locale en-US --activityId "65140cc5-fa4c-470e-9740-8005502ed51e"
VisualStudio Bootstrapper:2019-05-25 10:04:45: OSVersion = Microsoft Windows NT 6.1.7601 Service Pack 1
VisualStudio Bootstrapper:2019-05-25 10:04:45: Starting to detect the existing VS and .NET...
VisualStudio Bootstrapper:2019-05-25 10:04:45: Finished detecting the existing VS and .Net
VisualStudio Bootstrapper:2019-05-25 10:05:04: Beginning file download. File = https://aka.ms/vs/16/release/installer.
VisualStudio Bootstrapper:2019-05-25 10:05:04: Download requested: https://aka.ms/vs/16/release/installer
VisualStudio Bootstrapper:2019-05-25 10:05:05: Attempting download 'https://aka.ms/vs/16/release/installer' using engine 'WebClient'
VisualStudio Bootstrapper:2019-05-25 10:05:05: Uri 'https://aka.ms/vs/16/release/installer' redirected to 'https://download.visualstudio.microsoft.com/download/pr/8e169392-7f87-4d2e-a6e9-0c510272d9df/d4e01b060095407608d193d7143f6e4a/vs_installer.opc'
VisualStudio Bootstrapper:2019-05-25 10:11:18: Package signature verification returned Success for path: C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\d.uhy\vs_installer.opc
VisualStudio Bootstrapper:2019-05-25 10:11:18: Download of 'https://aka.ms/vs/16/release/installer' succeeded using engine 'WebClient'
VisualStudio Bootstrapper:2019-05-25 10:11:18: Current OptIn value is 1
VisualStudio Bootstrapper:2019-05-25 10:11:18: Extracting file 'vs_installer.version.json' from package stream.
VisualStudio Bootstrapper:2019-05-25 10:11:18: File found 'vs_installer.version.json' in package stream.
VisualStudio Bootstrapper:2019-05-25 10:11:18: Comparing client candidate version '2.1.3125.514' to autoSelfUpdateMinVersion '2.1.3125.514'
VisualStudio Bootstrapper:2019-05-25 10:11:22: Beginning extracting files to C:\Program Files (x86)\Microsoft Visual Studio\Installer.
VisualStudio Bootstrapper:2019-05-25 10:11:22: Extracting 'C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_installer\d.uhy\vs_installer.opc' to 'C:\Program Files (x86)\Microsoft Visual Studio\Installer'.
VisualStudio Bootstrapper:2019-05-25 10:11:26: Successfully extracted 'C:\Program Files (x86)\Microsoft Visual Studio\Installer'.
VisualStudio Bootstrapper:2019-05-25 10:11:26: Start named pipe: 91ba8373-9502-45d1-8629-a80eadc83d01
VisualStudio Bootstrapper:2019-05-25 10:11:26: Starting VS setup process 'vs_installer.exe' with arguments '/finalizeInstall install --in "C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_setup_bootstrapper_201905251004409923.json" --locale en-US --activityId "65140cc5-fa4c-470e-9740-8005502ed51e" --pipe "91ba8373-9502-45d1-8629-a80eadc83d01"'.
VisualStudio Bootstrapper:2019-05-25 10:11:26: VS setup process C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe started. All done.
VisualStudio Bootstrapper:2019-05-25 10:11:26: VS setup process starting. Exiting with code 0
VisualStudio Bootstrapper:2019-05-25 10:12:06: Pipe disconnected.
VisualStudio Bootstrapper:2019-05-25 10:12:06: Bootstrapper Successfully completed.

我希望有人能帮助我找到解决方案。

4 个答案:

答案 0 :(得分:1)

vs_installer.exe和vs_installershell.exe上的证书可能会有一些麻烦。安装此KB3004394可能会有所帮助。

答案 1 :(得分:0)

我遇到了同样的问题。我读过有关重命名文件夹“ / installer”的信息,但对我而言不起作用。我结束了删除文件“ vs_installer.exe”的工作,并使用了其中一个下载程序。

enter image description here

希望对您有帮助。

答案 2 :(得分:0)

今晚我在尝试在我的笔记本电脑(Windows 10 Pro Build 19042)上安装 Visual Studio 2019 社区版时遇到了完全相同的问题。经过近一个小时的拼命尝试各种场景(包括弄乱组件服务并将我的用户添加到 COM+ 应用程序的本地访问权限),我只需将安装程序文件从我的“下载”文件夹移动到另一个位置磁盘。然后,它起作用了。

这指出如果从名称中包含 UTF-8 字符的路径/文件夹运行安装程序将无法启动(我最初使用的是“C:\Users\Dragoș\Downloads”)。由于每次我将安装程序放在包含 UTF-8 字符的任何文件夹中时都会出现这种情况,因此我向 Microsoft 提交了一份错误报告:https://developercommunity.visualstudio.com/t/Visual-Studio-2019-installer-does-not-st/1411874

我不知道这个场景是否符合您的上下文,但无论如何,我希望它可以帮助到一些人。

答案 3 :(得分:0)

我首先尝试将 vs_installer.exe 重命名为 vs_installer.old,但这对我不起作用。当我取消选中“安装”选项卡上的“安装后保留下载缓存”时,“关闭”按钮更改为“修改”。