• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

Visual Studio Code opens after it installs (with proposed fix)

Started by olavrb, October 17, 2021, 12:30:34 PM

Previous topic - Next topic

olavrb

After Visual Studio Code installs, it opens. It shouldn't be like that if it's possible to avoid it with install switches IMO.

Proposed fix:


  • Add /MERGETASKS=!runcode to install parameters.

Source of inspiration:


Log of install from today, showing that current install command does not have this in it:

17.10.2021 19:28:24 - Download URL: https://az764295.vo.msecnd.net/stable/c13f1abb110fc756f9b3a6f16670df9cd9d4cf63/VSCodeSetup-x64-1.61.1.exe
17.10.2021 19:28:24 - Download Path: C:\PatchMyPCUpdates\Visual Studio Code 1.61.1 (x64).exe
17.10.2021 19:28:24 - Download size: 75.92 MB
17.10.2021 19:28:24 - Download Starting for: https://az764295.vo.msecnd.net/stable/c13f1abb110fc756f9b3a6f16670df9cd9d4cf63/VSCodeSetup-x64-1.61.1.exe
17.10.2021 19:28:24 - Downloading Visual Studio Code 1.61.1 (x64) (75.92 MB)
17.10.2021 19:28:28 - Total download time in seconds: 4.64
17.10.2021 19:28:28 - Install Command: /VERYSILENT /NOCLOSEAPPLICATIONS /NORESTARTAPPLICATIONS /SP- /NORESTART
17.10.2021 19:28:28 - Visual Studio Code 1.61.1 (x64) Downloaded Successfully
17.10.2021 19:28:28 - Silently install Visual Studio Code 1.61.1 (x64)
17.10.2021 19:28:47 - Install Successful for Visual Studio Code 1.61.1 (x64)
17.10.2021 19:28:47 - Deleted file: C:\PatchMyPCUpdates\Visual Studio Code 1.61.1 (x64).exe
17.10.2021 19:28:47 -  Visual Studio Code 1.61.1 (x64) not found

Chase.Hobbs

Coming in to +1 and ressurect this subject. Can we please implement the extra command line so it no longer opens? I can confirm the command works fine in my environment. It would be nice to no longer have VSC open automatically on updates.

Omar (Patch My PC)

Thank you for the tip! Will make sure to add this with the next update of Patch My PC soon!