Visualstudio-docs: List all currently installed component id?

Created on 31 Jul 2018  Â·  7Comments  Â·  Source: MicrosoftDocs/visualstudio-docs

How do we enumerate all the component IDs installed on a given machine? The idea is to replicate a known good install by dumping the component IDs from that install into a file/command line and feed it back to the installer on other machines (e.g. scripting it in with the --add arg)


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri1 support-request visual-studio-dev1prod

Most helpful comment

I've been looking for an answer to this. So far I've only got this...
There is a file called devenv.isolation.ini located here.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.isolation.ini
It has a InstallationWorkloads and InstallationPackages sections which match up with what I have installed.
But note, InstallationPackages also contains third party components that are installed from other sources.

All 7 comments

I've been looking for an answer to this. So far I've only got this...
There is a file called devenv.isolation.ini located here.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.isolation.ini
It has a InstallationWorkloads and InstallationPackages sections which match up with what I have installed.
But note, InstallationPackages also contains third party components that are installed from other sources.

this is terrific, midspace... thank you!

@SidShetye We appreciate the inquiry, and @midspace thanks for your input!
@tedvz FYI.

@SidShetye The latest release of Visual Studio has the solution you will need for this. A new export feature was added that will allow you to export the selections from a good install of VS and use that for a clean, new install.

Fantastic!

thanks midspace :)

midspace's comment about the devenv.isolation.ini file is great, and is still valid for VS 16.6.0.

@tydunkel The dumb thing Microsoft did with the 2019 installer is that if the installer is not the latest version, it won't even show you what you currently have installed, unless you update the installer!! So unprofessional. Also, when it's not the latest version, you can't even use the command-line export feature!! Ridiculous. You shouldn't have to update the installer to see the list of things you previously installed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nitinjs picture nitinjs  Â·  3Comments

gewarren picture gewarren  Â·  3Comments

wellwind picture wellwind  Â·  3Comments

ChrisMaddock picture ChrisMaddock  Â·  3Comments

CeciAc picture CeciAc  Â·  3Comments