I need to uninstall Visual Studio 2019 from am offline Windows PC without internet connection.
As soon as I try to uninstall it from "add/remove programs" it opens the Visual Studio Installer application. Then Visual Studio Installer hangs trying to update itself.
I have tried to launch it from command line with the following options:
vs_installer.exe --noWeb --noUpdateInstaller
but nevertheless, after a while, it asks to be updated.
I have searched for an offline installer for "Visual Studio Installer", but I haven't found it, it seems that Microsoft does not offers it.
Update:
I have tried using InstallCleanup.exe as explained in link but it does not exists on the Visual Studio 2019 instance I want to uninstall. I have tried to copy it (along with its .config file) from another VS Installation I have but It does not work:
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
Thanks
Uninstall the visual studio installer from add/remove programs