Fixlet for Visual Studio 2017, 2019, 2022

Does anyone here encountered issues creating a silent package to update Visual Studio 2017, 2019, 2022?

Below are some of the scripts that we have tried after uploading the exe file from https://aka.ms/vs/16/release/vs_enterprise.exe

waithidden __Download\vs_Enterprise.exe update --passive --norestart --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise"

waithidden cmd /c __Download\vs_Enterprise.exe update --passive --norestart --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise"

waithidden "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" update --passive --norestart --installpath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise"

waithidden cmd /c "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" update --passive --norestart --installpath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise"

So far, the below passive install script works on some machines but not all. Then we tried using the --quiet parameter instead of --passive, but it does not work for all machines.

override wait
completion=job
hidden=false
runas=agent
wait __Download\vs_Enterprise.exe update --passive --norestart --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise"

Does HCL have any plans on including the updates for Visual Studio 2017, 2019, 2022 on Patches for Windows site?

1 Like