microsoft / VisualStudioUninstaller

Visual Studio Uninstallation sometimes can be unreliable and often leave out a lot of unwanted artifacts. Visual Studio Uninstaller is designed to thoroughly and reliably remove these unwanted artifacts.
www.visualstudio.com
Other
3.92k stars 573 forks source link

How to run this silent? #109

Closed dinocizmic closed 5 years ago

dinocizmic commented 5 years ago

I need to run this silently, is there any switch that I can use to not need to enter in the 'y'?

heaths commented 5 years ago

Note that this is a latch resort if normal uninstall isn't working - nothing something to be automated as a normal use case. As such, we don't support silent execution.

You can, however, echo "y" via pipe to any command asking for "y" or "n" that runs in a console.

dinocizmic commented 5 years ago

How would I do a normal uninstall with removing all other programs that VS installed?

heaths commented 5 years ago

Visual Studio doesn't remove most other applications it installed, especially if other installers and those packages use package ref-counting. The VisualStudioUninstaller does even less checks as its a last resort sort of program.