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)
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
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.
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.