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 575 forks source link

Usage instructions #6

Closed StandBackBurrito closed 8 years ago

StandBackBurrito commented 9 years ago

Could you please post how to use this in the readme or the wiki.

I have cloned and ran but no Releases are found on my machine.

do I need to run this from a specific directory?

smithkl42 commented 8 years ago

Same here. The only command I can get to do anything interesting is "INSTALLED" (which shows about 200 or so different items, many of them entirely unconnected to Visual Studio, e.g., three entries for Windows Live Writer). Other than that, I'm mystified so far. Other commands all return errors like, "Index was outside the bounds of the array", "Object reference not set to an instance of an object", or an empty list.

tobyhu87 commented 8 years ago

Hi guys, sorry for the delay, we finally have some free cycle to work on this. I have a pending PR to address this issue.

Happy holiday! Toby.

smithkl42 commented 8 years ago

A few additional notes:

tobyhu87 commented 8 years ago

Hi Smithkl42,

The null reference exception should be addressed by https://github.com/Microsoft/VisualStudioUninstaller/pull/9/files . I just merged it in 5 hours ago. Please let me know if that's not the case.

thanks toby

tobyhu87 commented 8 years ago

I have found the issue, and created a PR to fix it.

thanks toby.

tobyhu87 commented 8 years ago

Thank you for reporting this issue. The latest drop of Uninstaller knows all public releases of Visual Studio 2013 and above. It is much simpler to use now, check out the usage in the release link below.

Release link: https://github.com/Microsoft/VisualStudioUninstaller/releases

smithkl42 commented 8 years ago

Thank you! I don't need it at the moment, but with the new version of VS on the horizon, I could easily see needing this again.

edgar007 commented 8 years ago

I need to leave VS 2013 intact. How can I uninstall only VS 2015?

tobyhu87 commented 8 years ago

Hi Edgar,

Unfortunately, there are shared components between VS 2013 and VS 2015. Ref-counting was implemented for shared components. It is not a good idea to completely remove VS 2015, because it removes the shared components as well. That will break VS 2013.

Total Uninstaller is designed to remove VS 2013/2015/Future entirely, so nothing left behind (things might get left behind, due to bad ref-counting or installer errors, etc.) If you need to leave VS 2013 intact, and need to uninstall VS 2015; please uninstall VS 2015 via ARP first.

thanks toby.