Author Topic: Visual Studio Code opens after it installs (with proposed fix)  (Read 192 times)

Offline olavrb

  • Newbie
  • *
  • Posts: 26
    • View Profile
Visual Studio Code opens after it installs (with proposed fix)
« on: October 17, 2021, 12:30:34 PM »
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:

Code: [Select]
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