Silent Install
VSCodeSetup-1.10.2.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
"%ProgramFiles%\Microsoft VS Code\unins000.exe" /VERYSILENT /NORESTART