Updating Visual Studio

BatchPatch Forums Home Forums BatchPatch Support Forum Updating Visual Studio

  • This topic has 3 replies, 2 voices, and was last updated 4 years ago by doug.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12577
    ktlevy
    Participant

    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?

    #12578
    doug
    Moderator

    When you say the first command was successful– I assume that means you did the first command successfully using ‘Deploy’, not using ‘Remote command’, yes? If yes, I’m thinking that the issue with the second command is probably the quotation marks. Try single quotation marks around the path instead of double quotation marks. Like this:

    \\server\vs2019\vs_enteprise.exe update --installPath 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional' --quiet --wait

    Let me know how it goes.

    #12579
    ktlevy
    Participant

    Unfortunately that did not work. I got an Exit Code 1.

    #12580
    doug
    Moderator

    Sorry to hear that. If you are a licensed customer and want to work through this with us, I would encourage you to contact us directly so that we can have a better look at what might be happening. There’s a good chance that we’ll be able to help you get it working when we can see exactly what you’re doing with screenshots etc. It’s unclear to me at the moment where things might be going wrong. BatchPatch contact form

    Thanks,
    Doug

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.