VSCode安装失败 - 无法提取安装程序

时间:2015-04-30 12:37:13

标签: windows visual-studio-code

VSCodeSetup.exe
Installation has failed
Failed to extract installer

我无法安装或打开安装日志。

尝试在Windows 8.1 Enterprise上安装

1 个答案:

答案 0 :(得分:14)

我刚刚下载了VSCodeSetup.exe,当我在Windows 7.1 SP1上运行时,安装失败并出现错误对话框。

然后我右键单击VSCodeSetup.exe文件并使用7Zip将存档文件解压缩到VSCodeSetup文件夹,并生成以下文件:

Mode           LastWriteTime       Length Name
----           -------------       ------ ----
-----     4/22/2015  8:28 AM       140782 background.gif
-----     4/27/2015  6:22 PM     60255967 Code-0.1.0-full.nupkg
-----     4/27/2015  6:22 PM           74 RELEASES
-a---     4/30/2015  9:25 AM         1911 SquirrelSetup.log
-----     4/24/2015 11:12 AM      1492992 Update.exe

然后我打开了PowerShell(CMD窗口也可以工作)。我进入VSCodeSetup文件夹并运行以下命令:

PS> 。\ Update.exe --install =。

安装成功完成并且Visual Studio代码已打开。

希望这有帮助。

瑞克