How to remove component from Visual Studio offline installation


I want to remove component from offline installation, but the command doesn’t work, and it launches the installer every time:

C:\BT2022offline\vs_BuildTools.exe --noweb --remove anypackage
C:\BT2022offline\vs_setup.exe --noweb --remove anypackage

enter image description here

Let’s say I want to remove any of these folders

C:\BT2022offline\vs_setup.exe --noweb --remove Microsoft.VisualStudio.VC.Copilot.Setup,version=17.14.35806.103 

it doesn’t work

Leave a Reply

Your email address will not be published. Required fields are marked *