SecTeer VulnDetect & PatchPro Support Forum VulnDetect
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Download VulnDetect Installer
    • Login

    Visual Studio removal (of old versions)

    Scheduled Pinned Locked Moved [Corporate] Deployment -> Custom Software
    1 Posts 1 Posters 299 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      Tom VulnDetect Team Member
      last edited by

      Removal of (older) Visual Studio installations is possible using the Custom Software feature.

      Select the right "bootstrapper" for your use case / license (new ones can remove older installations):

      2022:
      https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022#step-1---download-the-visual-studio-bootstrapper

      2019:
      https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019#step-1---download-the-visual-studio-bootstrapper

      2017:
      https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2017/install/create-an-offline-installation-of-visual-studio?view=vs-2017#step-1---download-the-visual-studio-bootstrapper

      All you need to remove a given installation is to run it with these parameters: uninstall --quiet --wait --installPath="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community". This will automatically remove the installation in the mentioned folder.

      It is important to pay attention to the path, even an extra trailing \ will cause the operation to fail.

      You also need to consider if the old installation is 32-bit (x86) or 64-bit.

      VS2017 uninstallation.PNG

      If you supply the wrong path, no harm should happen, the installer just fails to remove Visual Studio.

      If you don't supply the "installPath" then it will remove all Visual Studio installations.

      /Tom
      Download the latest SecTeer VulnDetect agent here:
      https://vulndetect.com/dl/secteerSetup.exe

      1 Reply Last reply Reply Quote 0
      • T Tom moved this topic from [Custom Software guide drafts] on
      • First post
        Last post
      Download SecTeer Personal VulnDetect - an alternative to the long lost Secunia PSI

      Please see our Privacy and Data Processing Policy
      Sponsored and operated by SecTeer | VulnDetect is a replacement for the EoL Secunia PSI
      Forum software by NodeBB