Visual Studio Professional 2012 uninstallation stuck - visual-studio

I'm trying to uninstall Visual Studio Professional 2012 (I have 2015 now) on Windows 10, but it's stuck on "Applying: Microsoft Visual Studio 2012 Shell (Minimum)." The second loading bar is almost full and won't go higher. I left my laptop on overnight so it could uninstall yet it's still here.

To uninstall the VS 2012, you can check this: How to uninstall Visual Studio 2012 and it describes the manual removal and forcibly uninstall methods. You can first uninstall the main product like VS 2012 professional, then uninstall the other supporting products that may be installed.
Make sure you uninstall the VS 2012 professional by the administrator account and if the manual removal failed, you can try to forcibly uninstall through the command: vs_professional.exe /uninstall /force. It can forcibly remove almost all components and for the detail information, you can have a look at this blog.
If the uninstall still failed, you can use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder then upload the file to https://onedrive.live.com/ and share the link here.

Related

Install SSDT for Visual Studio 2017 community fails on recursion too deep

"Setup Failed" Recursion too deep; stack overflowed 0x800703E9.
I have windows 10 and newest visual studio version. I have tried rebooting to make sure I have as many resources as possible. I have 4g ram.
If the SSDT installer gives you multiple instances of Visual Studio to choose from, try the "new" option.
I ran into this problem trying to install SSDT 15.8.1 on Windows Server 2012 R2 with the latest version of Visual Studio 2017 (v15.8.6) already installed. The SSDT installer gave me 2 options in a dropdown box.
Install tools to this Visual Studio 2017 instance:
Visual Studio 2017
Install new SQL Server Data Tools for Visual Studio 2017
When I chose the first option: Visual Studio 2017 (presumably the existing instance), I ran into the cryptic "recursion too deep" error. I installed the SSRS extension for VS (as suggested by others on Stack Overflow) and tried running the SSDT installer again for the existing Visual Studio 2017 instance. I got the same "recursion" error.
I tried one more time, but this time chose the 'Install new SQL Server Data Tools for Visual Studio 2017' option. This time the install process completed!
Apparently there is an installer inconsistency between the latest versions of SSDT and Visual Studio. The suggested fix is to start with a previous installation of Visual Studio 2017, install the latest SSDT on top of that, and then upgrade Visual Studio. This is a very time consuming fix. It appears this is only necessary for the SSIS components - the SSAS and SSRS pieces are available as Extensions within VS, and I believe they still install successfully from there.
https://developercommunity.visualstudio.com/content/problem/258117/ssdt-failed-to-install-vs-2017-pro-1572.html
Please re-run the VS community 2017 installer or go to Control Panel-Programs and Features, uninstall the previous SSDT version for VS 2017, then re-install it, you can have a look at this similar issue.
If this issue persists, please use http://aka.ms/vscollect to gather the installation logs and find vslogs.zip under the %temp% folder, then upload the file to Onedrive and share the link here.
You should uninstall the current version of SSDT before install a new version.
If your computer have some pages blocked, you could download the specific version offline installer (Download the header, then use SSDT-Setup.exe /layout [Folder]) for the former version and new version of SSDT.
How I got past it:
Uninstall the Visual Studio extensions for Reporting Services (and Analysis Services) projects in case if you going to select them during SSDT set up. Note: remember to run VS as administrator to do the uninstall.
Reboot VS2017 (just out of general principle.)

uninstalling Visual studio 2017 enterprise and installing VS 2017 community

I would like uninstall visual studio 2017 enterprise from my window surface pro. after that i would like to install visual studio 2017 community. just wanted to ask the following,
is it going to be just uninstall the current version of vs from programmes and installing the new version.
is there any potential issue i need to be aware off?
thanks
Please, read the documentation:
Microsoft Docs | Install Visual Studio 2017
Microsoft Docs | Uninstall Visual Studio 2017
is it going to be just uninstall the current version of vs from
programmes and installing the new version.
Yes, uninstall Enterprise Edition and install Community. Or do it vice-verse.
BTW, you should run Visual Studio Installer, not Programs and Features to manage your VS2017 installations.
As far as I know, you do not need to uninstall the VS enterprise 2017 in your scenario. For VS 2017, we can keep different versions on the same computer. Please check this: https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes#whats-new-in-visual-studio-2017 and find the following information:
Installation Nickname
Visual Studio Enterprise and Community (among other products) can now be installed side-by-side on the same computer. To make identifying these installations simpler, you can specify a short name or "nickname". For example, if you were to install Visual Studio Enterprise, and then install Community, both would appear the same on the start menu. You can give the second one a nickname like "community", and the start menu items will appear with names such as "Visual Studio 2017 (community)" and "Developer Command Prompt for Visual Studio 2017 (community)".

Uninstalling Visual Studio 2015

I am trying to uninstall Visual Studio Community 2015. It has been hanging on the Preparation step for at least 12 hours. (Left it going over night). I did not want to cancel since I thought it might just be running slowly but now I am thinking that it is stuck. I have also tried repairing and it does the same thing.
Thanks in advance
Chris
To completely uninstall the VS community 2015, you can have a look at this blog and try to forcibly uninstall through the command like vs_community.exe /uninstall /force. It can forcibly remove almost all components.
There also have a visual studio uninstaller tool to cleanup/scorch all Preview/RC/RTM releases of Visual Studio 2013, Visual Studio 2015 and Visual Studio vNext. You can download it from here.
If the uninstall still failed, you use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder then upload the file to https://onedrive.live.com/ and share the link here.

Can't install Visual Studio 2015 Community

I'll get straight to the point here.
I've been having loads of problems installing Visual Studio 2015 Community recently. I previously had Visual Studio 2012, but decided to uninstall it and install 2015 since I've started using 2015 at college.
Originally I was using Windows 7 Professional when I was having the issues, but it persists with Windows 10. The exact issue is that when I try to install Visual Studio, it progresses a little bit and then stops at "Microsoft Visual C++ 2015 x86 Debug Runtime - 14.0.24210" and then doesn't progress past that. It will keep installing that for as long as I let it, and when I try to stop the download, it will not close and I will have to restart my PC. See here:
1
I contacted Microsoft support, which, I have to say, is appalling, and they recommended that I try to install it after performing a clean boot. I did that, and it seemed to be working, but I got multiple other errors. See here:
2
As I need this programme to help with college work, you can see how this would be a huge inconvenience for me, and since Microsoft support is so terrible, I decided to come here to ask for help.
So, would you please help me figure this out?
Refer to the log file, I found the error message 'The older version of Microsoft Visual C++ 2015 x86 Debug Runtime - 14.0.24210 cannot be removed', you can have a try with the following to troubleshot this issue:
Make sure run the installer as administrator.
Go to Control Panel—Programs and Features and if you can find any versions of Visual C++ 2015 Redistributable, right-click and repair. After that, re-run the VS installer as administrator to repair. If not works, uninstall the installed Visual C++ 2015 Redistributable versions and re-run the VS installer again.
You can also use the MsiInv tool: https://blogs.msdn.microsoft.com/astebner/2005/07/01/using-msiinv-to-gather-information-about-what-is-installed-on-a-computer/ to obtain all Windows Installer products, features and components that Windows Installer thinks are installed on your computer, then manually uninstall the Visual C++ 2015 x86 Debug Runtime - 14.0.24210 by running msiexec /x command. After that, re-run the VS installer as administrator.
Download the Visual C++ 2015 Redistributable from https://www.microsoft.com/en-sg/download/details.aspx?id=48145 and install it, then re-run the VS installer to repair.

How do I uninstall Visual Studio 2013?

I installed a VS 2013 trial on my Windows 10 PC. Now the trial period has expired and I want to remove it. However I can not find it listed under Control Panel->Programs->Programs and Features!?
Search C:\ProgramData\Package Cache\ for vs_*.exe and you should see one or more bootstrap installers named for the version, E.g. vs_enterprise.exe, vs_community.exe
Run the executable with the /uninstall command line.
Alternatively run the original installer again in the hopes that it offers an uninstall option, if not reinstall it in the hopes it fixes the missing link.
You could use the Visual Studio Uninstaller. Its a tool developed by Microsoft and should get rid of the Visual Studio Instance.

Resources