Visual Studio Uninstaller
This executable is designed to cleanup/scorch all Preview/RC/RTM releases of Visual Studio 2013, Visual Studio 2015 and Visual Studio vNext. It should be used as the last resort to clean up the user's system before resorting to reimaging the machine.
Running this application will break Visual Studio 2012 and earlier versions of Visual Studio because Visual Studio 2012 have some MSIs that have the same upgrade codes as Visual Studio 2013 and above.
How it works?
This app finds and uninstall every Preview/RC/RTM releases of Visual Studio 2013/2015/vNext. It will first execute uninstall command on the bundle, and then it will uninstall any stale MSIs. The application contains a master list of Bundle IDs and upgrade codes for every MSI ever chained in by Visual Studio 2013-vNext. It will not uninstall MSU or MSIs that marked as ReallyPermanent.
Contributing and building this project
Our goal is to provide a way to thoroughly and reliably remove Visual Studio. This program first attempts to force uninstall Visual Studio from top down, and then remove any remaining MSIs and MSUs. This program will work on any BURN based Visual Studio; that means this program is only capable of removing Visual Studio 2012 and above.
How to debug Total Uninstaller remotely?
IMPORTANT: Do not run this on your development machine without setting the
DoNotExecuteProcess flag. This will prevent the application from uninstalling the very development environment you are working from.
To get the most out of the debug experience, I recommend the following:
- Create a VM with Dev14 installed.
- Start the 64-bit remote debugger with administrative privileges.
- Copy the debug Bin directory to the VM.
- Run the application with Administrative privileges.
- Create a snapshot of the machine using Hyper-V.
- Start a remote debugging session to your VM and attach.
- Step through to your hearts delight.
- If you find something you don’t like, restore the snapshot and recopy the Bin directory and go to step 6 again.
Using Total Uninstall:
- Download and unzip the zip file to a folder.
- Open cmd.exe with Administrative privileges
- Execute Setup.ForcedUninstall.exe
- Press Y and hit enter to run the application.
- If the application ask to reboot the system, please reboot the system, and rerun this application again.
- help or /help or /? : Print usage.
- break : run the application and pause until the user hit any key.
- noprocess : run the application but does not uninstall anything.
- Periodically update of the Total Uninstaller to ensure the data used for uninstallation is up to date with the most recent Visual Studio releases.
There's currently no known major issue with the latest release.
These are general guidelines for source code within this solution.
- Parameters should be declared with SAL annotation.
- Input string parameters should be declared as LPCWSTR.
- Output string parameters should be declared as CStringW& references.
- Class members should not be references or pointers, but be created and destroyed with the owning class.
Please follow these coding standards: https://msdn.microsoft.com/en-us/library/Ff926074.aspx?f=255&MSPPError=-2147217396