I’m trying to use BatchPatch to update Visual Studio 2019 on a bunch of computers, however I’m not having any luck. According to the Microsoft site, I need to run two commands:
\\server\vs2019\vs_enterprise.exe –quiet –update (this one seems to work and shows SUCCESS)
\\server\vs2019\vs_enteprise.exe update –installPath “C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional” –quiet –wait
If I try and run the command through the “Deploy Software” option, I get an Exit Code 1.
If I try and run the command through the “Execute Remote Command” option, I get an Exit Code 2.
I’ve also tried creating a .bat file with both command in it and executing that, but it also fails.
If I logon to a system and bring up a command window and run both of those commands, it works like a champ.
Has anyone gotten this to work or have any suggestions?