Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

Trying to install on Windows 8.1 Enterprise

like image 961
Mike Norton Avatar asked Dec 05 '22 22:12

Mike Norton


1 Answers

I just downloaded VSCodeSetup.exe and the installation failed with an error dialog when I ran it on Windows 7.1 SP1.

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

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=.

Installation completed successfully and Visual Studio Code opened.

Hope this helps.

Rick

like image 154
Rick Wassum Avatar answered Dec 27 '22 02:12

Rick Wassum