VSCode 安装失败 - 无法提取安装程序 [英] VSCode Installation Failed - Failed to extract installer
问题描述
VSCodeSetup.exe
Installation has failed
Failed to extract installer
我无法安装或打开安装日志.
I am unable to install or open up the Setup Log.
尝试在 Windows 8.1 Enterprise 上安装
Trying to install on Windows 8.1 Enterprise
推荐答案
我刚刚下载了 VSCodeSetup.exe,当我在 Windows 7.1 SP1 上运行它时安装失败并出现错误对话框.
I just downloaded VSCodeSetup.exe and the installation failed with an error dialog when I ran it on Windows 7.1 SP1.
然后我右键单击 VSCodeSetup.exe 文件并使用 7Zip 将存档文件解压缩到 VSCodeSetup 文件夹,生成文件:
I then right clicked on the VSCodeSetup.exe file and used 7Zip to extract the archived files to a VSCodeSetup folder, with the resulting files:
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 文件夹并运行以下命令:
I then opened PowerShell (a CMD window would also work). I cd'd into the VSCodeSetup folder and ran the following command:
PS>.\Update.exe --install=.
安装成功完成并打开 Visual Studio Code.
Installation completed successfully and Visual Studio Code opened.
希望这会有所帮助.
瑞克
这篇关于VSCode 安装失败 - 无法提取安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!