Visual Studio Code
Visual Studio Code
Download Installer
- Login with your VMI CREDENTIALS not a personal Box Account
- BOX DOWNLOAD LINK
Installation Instructions - Silent Install
PLEASE NOTE
Please note in the installation video if you receive an error when trying to install the powershell script to set the execution policy to Bypass
as seen in the video
IMPORTANT Open Windows Powershell
as administrator by Right Clicking and selecting Run as Administrator. The installation will fail if you do not run as administrator.
This silent install method will install everything in the background with minimal user interaction.
What does it do exactly:
- Install Visual Studio Code
- Install Code Runner extension for all users
- Install C/C++ Extension for all users
- Install C/C++ Extension Pack Extension for all users
- Set the Environment System Variable PATH for MinGW to C:\MinGw\bin
- Download the installer file from the Box link above.
- Extract
vscode1.19.0-systeminstaller-cadet.zip
to the root ofC:\
- Open
Windows Powershell
and be sure to right click and selectRun as administrator
This is very important, the installer will fail if this is not done - Navigate to c:\vscode with the following command:
cd c:\vscode
- Type
dir
to see the contents of the directory - Run the installer command:
.\install.ps1
(Make sure to include the period + backslash)
Error
If you receive a message similar to the one in the video regarding not being able to load dur to running scripts are disabled on your system you must adjust the execution policy temporarily during the session of powershell. To do this please run the following command:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
and then Type A
for Yes to All
and continue with the installation by running the command from Step 6 again: .\install.ps1
It will look like nothing is happening momentarily, but Visual Studio Code is being installed silently in the background.
Once you see the final text stating:
Visual Studio Code installation, shortcut copy, file copy, and PATH update completed.
You can close powershell and the installation is complete.