Silent Install
x64
VSCodeSetup-x64-1.25.0.exe /VERYSILENT /NORESTART /LOADINF="install.inf"
x86
VSCodeSetup-ia32-1.25.0.exe /VERYSILENT /NORESTART /LOADINF="install.inf"
Answerfile
[Setup]
NoIcons=0
Tasks=!desktopicon,addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath
possible Options
following TASKS are possible to pass to the AnswerFile
desktopicon |
Add a Desktop Icon |
addcontextmenufiles |
"Open with Code" Context Menu entry for files |
addcontextmenufolders |
"Open with Code" Context Menu entry for folders |
associatewithfiles |
register Code as Editor for supported filetypes |
addtopath |
add to PATH (useable after reboot) |
Silent Uninstall
x64
"%ProgramW6432%\Microsoft VS Code\unins000.exe" /VERYSILENT /NORESTART
x86
"%ProgramFiles%\Microsoft VS Code\unins000.exe" /VERYSILENT /NORESTART