Setup failed when installing Visual Studio 2013 Ultimate with Update 4 - visual-studio-2013

Sorry for dupplicate.
I installed VS 2013 with Update 3 on disk E. By using a software, I merged disk D and E to one partition. And the data was lost.
But, i restarted my pc, i could still uninstalled some software. VS 2013 is not one of them.
VS said that it needs a source to complete. I can't provide it. Nothing in disk E, it includes VS 2013 source.
After that. I linked to visualstudio.com and download new version. It's VS 2013 with Update 4.
I downloaded iso file, and burned to my usb.
When running as administrator, it shows me 1 error and many warning. Like this:
The form specified for the subject is not one supported or known by the specified trust provider.
The installer was stopped.
I had referenced many relate, some ideas are:
-- Uninstall VS 2013 Update 3. Restart and try to install VS Update 4. I can't do this.
-- Read this link: Visual Studio 2013 Setup: common issues and workarounds. I read and... still didn't see any solution to solve my trouble. The installer didn't tell me "Why" or give me any error code about the problem.
So, my problem is:
I have VS 2013 with Update 3 on my system, and the source was lost. I can't uninstall it.
I want to install new VS 2013 with Update 4 within Update 3. But I don't know how to do that.
Can you give me any solution?
Thanks so much!

I don't understand what is meant by "I want to install new VS 2013 with Update 4 within Update 3". However, I can provide you the steps to uninstall an update of VS 2013.
Go to Control Panel->Programs->Programs and Features.
Now on the left you will see View installed updates on the top left of the side bar as shown below.
Now under VS 2013, you should be able to see all the updates. Right click an update and click Uninstall.
Good Luck!

Related

Errors while running Microsoft Visual Studio 2015 Community Edition

I have recently installed Microsoft Visual Studio 2015 Community Edition on my laptop.
Since the time of installation I have been facing a few issues.
I was not able to even access the New Project option itself.
Some of the times I will be able to access it however, sometimes it does not even allow me to access a single file of my solution in the startup itself it gives me an error.
I have attached a set of five screenshots in this query. There is some blank space after users path, I removed an extra folder name(username) from the path so dont get confused with that.
The detail of all the screenshots are as follows:
1) This is the image I get when I launch the Visual Studio on my laptop.
2) Once I click 'NO' option on the first dialog box I get a new one stating an error with the source code.
3) Once that is done, I move onto Solution Explorer to access the solution and I get this log.
4) When I try to access the tools tab to check for options I get this error message.
5) I had even tried to create a new project and the following error provided in this screenshot would appear.
I am not able to understand where I could have gone wrong or what happened that has corrupted the application to this extent. Is it an installation issue or are there some bugs in this version of Visual Studio, if there are any I would be more than happy to move to previous versions as I was a lot happier with them than this one.
If someone would help on this concern I would be really thankful.
Regards,
Harrisson
First, I went ahead and uninstalled the current version of Microsoft Visual Studio 2015 from my system. Then, I searched and removed the data from the temporary files related to MS VS 2015 from the following paths:
C:\Users\Username\AppData\Local\Microsoft\VisualStudio
C:\Users\Username\AppData\Roaming\Microsoft\VisualStudio
Once this had been done, I went ahead and installed Visual Studio 2015. After installation, I installed the additional support directories for Visual C++. You can do the same for the platform you wish to work on.
Then I installed updates from the following link:
https://www.visualstudio.com/en-us/news/releasenotes/vs2015-update3-vs
Once I started the solution it worked perfectly fine after that with no errors.

Trying to install VS 2015 w/ update 1 after update 2 was causing major issues

Last week update 2 was officially released for Visual Studio 2015. In a desire to stay up-to-date I installed it and when I did I started having some functionality broken with visual studio. I removed the update through add/remove programs but was still getting the stalling out and some broken functionality. I tried to roll back using windows restore to before last Friday (when I installed it), this made functionality much worse so I had to uninstall.
I wrote it off as a glitch with the upgrade and grabbed a fresh install online of VS2015 preloaded with update 2. Sadly I still had issues, particularly now with doing migrations.
I decided I had enough, it wasn’t worth the hassle of getting Update 2 to work, so now I am trying to install visual studio with update 1 (what I had on there before Friday) it doesn't work. I can open and run the installer for VS2015 with update 2 and that works fine, but when open the same installer I used a few months ago that had update 1 I select the modules I want and click install that's when I get this error:
"Setup detected an issue during the operation. please click below to check for a solution and help us improve the set up experience" (but it only gives me the option to close program)
I tried running the visual studio 2015 installer with the “/uninstall /force” flags in case it left something. I went to the “program files (x86)” folder and deleted what’s left of the visual studio 14.0 folder (which is 2015) but to no avail. In a last ditch effort I even tried removing all visual studio settings out of the user/appdata/roaming and user/appdata/local folders. I uninstalled ANYTHING that was installed in my programs since last Friday.
Lastly, I am looking at the log of one of the failed install attempts and the only line with the word “error” is this one:
[15BC:1528][2016-04-06T22:48:02]e000: MUX: ERROR: Object reference not set to an instance of an object.
I don’t know what that means. I see people having that error WHILE in visual studio, but I'm getting it for the installer.
TL:DR I want to install VS2015 U1 after upgrading to VS2015 U2 and having to uninstall but it won't let me install.
Edit: someone suggested system restore to restore my computer to a date in before I upgraded to update 2 but with all the installing and uninstalling attempts yesterday I blew away anything before then

Visual Studio 2015 Community Installation Failure

I'm encountering a problem while attempting to install Visual Studio 2015. At one point, it wasn't even able to run an .iso file.
I followed tips from:
Error Installing Visual Studio 2015 Enterprise Update 1 with Team Explorer
That gave me hope for a while, and the installation appeared to be working, but then I got this error.
What should I attempt next? I'm at the end of my rope here.
I had a similar issue with the general "TeamExplorer/vs_teamExplorerCore" error and finally got Visual Studio 2015 Community Edition Update 2 to install with these steps on Windows 7 (some of which are outlined here and here.)
Since you said you have tried at least some steps in the first article, I will note that it wasn't until I combined steps (and added a couple) that this worked for me after multiple repeated failures. I had previously tried some steps individually without any luck.
Note: If you are only interested in trying the VS 2015 Community RTM installer for some reason (rather than all the steps outlined), I have listed a link to just that file at the bottom of this answer.
The steps I took, in order, were:
1.) Update Windows - Make certain Windows is up to date (as necessary, including reboots).
2.) Enable all four evaluations of symbolic links:
Check to see if all four evaluations are enabled. Run cmd.exe (Run as Administrator):
fsutil behavior query SymlinkEvaluation
All 4 evaluations should be enabled. If they aren't:
fsutil behavior set SymlinkEvaluation L2L:1 R2R:1 L2R:1 R2L:1
Once those 4 evaluations are set, clean up your old directories/registry keys, temporary files and package installation cache (below).
3.) Uninstall any entry for VS 2015 in the Control Panel - If present in the Add/Remove Programs section, uninstall any entry for VS 2015.
Note: I did not manually uninstall any of the dependencies that were installed during the failed installation (e.g. .NET x.x.x, IIS 10 Express, etc.).
4.) Clear out old VS 2015 files, folders and registry keys:
C:\Program Files (x86)\Microsoft Visual Studio 14.0
C:\Program Files\Microsoft Visual Studio 14.0
C:\users\user\Documents\Visual Studio 2015
C:\users\user\AppData\Roaming\Microsoft\VisualStudio\14.0
C:\users\user\AppData\Local\Microsoft\VisualStudio\14.0
C:\users\user\AppData\Local\Microsoft\VSCommon\14.0
Note: Of course the first two might be different depending on where you attempted to install VS 2015.
Clear your registry entries with:
REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0
REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0
REG DELETE HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0
REG DELETE HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config
5.) Remove cached or temporary items - Completely remove all items in
C:\ProgramData\Package Cache
and
C:\Users\UserName\AppData\Local\Temp
Note: Temp you can be more selective with if you like since some items will be clearly unrelated to VS.
6.) Uninstall previous redistributables - Uninstall any previous redistributables you may have. I made it a particular point to uninstall all three copies of 2015 (RC, Update 1 and Update 2).
If you are unsure about uninstalling all three, I would suggest at least doing Update 2, even if you leave the other two alone (since I am assuming you are attempting to install VS 2015 Update 2).
I had previously manually removed:
c:\windows\System32\vcruntime140.dll
c:\windows\SysWOW64\vcruntime140.dll
but did not do this on the final attempt outlined here.
Note: Make sure these are not in use when you uninstall them. If you receive any complaints, stop any associated programs before continuing.
7.) Reboot the PC.
8.) Temporarily disable AntiVirus, if any - The brand I use has the ability to disable all items until a time of my choosing.
Note: I would suggest that if your program has a time limit on disabling items, you ensure that time limit is not reached while attempting to install VS 2015.
9.) Clean up any remaining registry entries with CCleaner, as needed - In my scenario, there were still some unused keys left over after uninstalling the last VS 2015 failed attempt.
10.) Reinstall VC++ redistributables manually - all VC++14 versions were reinstalled in my scenario but I would be especially concerned with Update 2 or whatever you are trying to install.
The redistributables I used for Update 2 were version 14.0.23918.
11.) Use the VS Studio RTM installer appropriate to your installation - Per the chosen answer here, there may be a problem with using the current installer for VS 2015 Update 1 or Update 2.
For my scenario particularly I:
Downloaded the Visual Studio 2015 Community Edition RTM ISO.
(SHA1:BAAD3CEBAB7A5834D8F78F7D02E4880C010F3BA9)
Copied the installer "vs_community.exe". For this scenario, I was not using the ISO contents, so I unmounted it.
Ran the RTM installer from a directory without spaces. I am unsure if this was strictly necessary, but a comment made elsewhere a long time ago seemed to indicate that this might be a potential problem.
Used the default installation directory (C:\Program Files (x86)\Microsoft Visual Studio 14). Previously, I had used a installation custom directory.
Had about 20-25GB free, since there is a lot to download and install. =P
If you need other VC 2015 RTM ISOs other than for Community, links can be found at this blog post.
If you trust strangers on the internet, this is a link for the VS 2015 Community RTM installer (only) I used, no 3.9GB ISO download required. =P
Regarding the installer, as I mentioned, I did not have to use the RTM ISO. The RTM installer pulls web updates just like the installer for Update 1 or Update 2.
Using the RTM installer I successfully installed VS 2015 Update 2 with all optional C++ selections, Python Tools for Visual Studio and Clang with Microsoft CodeGen via the web. I chose not to install the Web Development Tools, but I don't believe this made a difference since I had previously had the TeamExplorer Core error prior to successful installation with no options selected whatsoever.
See these wonderful links to remove Visual Studio completely:
Create a "remove all remnants of Visual Studio from your system" program.
Github: VisualStudioUninstaller

Visual Studio 2013 License Product Key

I installed Visual Studio 2013 Professional as a Trial version while waiting for my company to complete the license purchase.
They completed the purchase of 4 licenses (64 bit), but were not given Product Keys. Instead, there is a particular .iso file with the license or product key embedded in some way.
I want to avoid having to uninstall Visual Studio 2013 only to reinstall Visual Studio 2013 and re-setup all my settings. Is this possible? Is there a way to extract the license/product key from the .iso or from other coworkers desktops that did a clean install?
Here is what I have tried (with 2 coworker installations):
Looking for the license info in:
HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0\Licenses\*
but it is unique on both computers.
Looking for the Product Key in:
HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0\Registration\2000.0x0000\PIDKEY
One install had one, which my install said was invalid when attempting to use it. The other install had a blank PIDKEY.
Looking inside SW_DVD5_Visual_Studio_Pro_2013_English_MLF_X19-20996.ISO but I see no mention of a License or Product Key.
Checking their Help > Register Product in Visual Studio, which simply says
License: Product key applied
Tried doing an install/repair from the ISO but it says:
The product version that you are trying to set up is earlier than the version already installed on this computer.
Likely because of the Visual Studio 2013 Update 1 and 2
Again, I would really like to avoid the multi-hour process of reinstalling VS 2013. Is there any way?
I solved this, without having to completely reinstall Visual Studio 2013.
For those who may come across this in the future, the following steps worked for me:
Run the ISO (or vs_professional.exe).
If you get the error below, you need to update the Windows Registry to trick the installer into thinking you still have the base version. If you don't get this error, skip to step 3
Click the link for 'examine the log file' and look near the bottom of the log, for this line:
open regedit.exe and do an Edit > Find... for that GUID. In my case it was {6dff50d0-3bc3-4a92-b724-bf6d6a99de4f}. This was found in:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall{6dff50d0-3bc3-4a92-b724-bf6d6a99de4f}
Edit the BundleVersion value and change it to a lower version. I changed mine from 12.0.21005.13 to 12.0.21000.13:
Exit the registry
Run the ISO (or vs_professional.exe) again. If it has a repair button like the image below, you can skip to step 4.
Otherwise you have to let the installer fix the registry. I did this by "installing" at least one feature, even though I think I already had all features (they were not detected). This took about 20 minutes.
Run the ISO (or vs_professional.exe) again. This time repair should be visible.
Click Repair and let it update your installation and apply its embedded license key. This took about 20 minutes.
Now when you run Visual Studio 2013, it should indicate that a license key was applied, under Help > Register Product:
Hope this helps somebody in the future!
Reference blog 'story'

Visual Studio 2013 - Cannot merge Views

For a couple of weeks now I have been unable to merge Views within Visual Studio 2013 in response to conflicts when getting Source Code from Visual Studio Team Services. I am sure I used to be able to this (we recently moved from Visual Studio Professional 2012 so I cannot be one hundred percent certain - automerging may have been sufficient in the early days of the project).
The "Accept Merge" and move to next change/conflict buttons are all greyed out and inoperable. See screenshot snippet-
This originally only happened with Views, but now seems to affect some other classes. Changes are highlighted and indicated on the scroll bar so the diff tool otherwise appears to be functioning. This only originally affected me, but now affects a new colleague into the team.
I can still either Keep Local Version or Take Server Version but this is rarely sufficient. This leaves me manually altering the local copy to apply changes highlighted by the merge tool. (Edit - See a better workaround in "Second Update" below).
Has anyone come across this before?
Visual Studio 2013 Premium (patch RTM/Update 1/Update 2 - all with the same problem), with Resharper 8.2 (originally 8.0.2) C# and Web Essentials installed. Running on Windows 7 Professional x64.
Project is ASP.NET 4.5 using MVC 5.1.2 (now additionally updated from MVC 5 where the problem first occurred) (upgraded from MVC 4 following the upgrade instructions on the ASP.NET website) in C#, using latest versions of Razor (3.1.2) and Entity Framework (6.1.0 RTM).
Edit: Initially a repair install of Visual Studio 2013 appeared to have fixed the issue. It has now however returned exactly as it was before. Since it took an hour to do the repair I cannot repeatedly do this in order to merge views. I am currently able to round trip the solution between Visual Studio 2012 Update 4 and Visual Studio 2013 in order to do merges in Visual Studio 2012 where it is working normally.
Second Edit: I am currently manually resolving conflicts by selecting the desired code (local/server), saving the merge window and then closing it which will prompt to accept the merge result. This seems to function but is obviously sub-optimal. It may however be helpful for other users.
In the event, installing Resharper 8.1 on top of 8.02 appears to have fixed it fixed it briefly before the problem returned yet again. I had previously completed a repair install of Visual Studio Premium 2013 as well - which briefly seemed to have fixed it before it broke again. I only mention it in case the fix is cumulative.
I am unclear if it was a bug in Resharper that was somehow preventing the merge, or a persistent problem with the installation that the upgrade cleaned up (Resharper removes previous versions and then installs updates, rather than attempting to install over the top). Update - I am extremely confident that this is not related to ReSharper and that it was the configuration of Visual Studio as a result of re-installing the extension and not the extension itself that fixed the issue.
In either case, the issue (for now) seems to have disappeared and this seems to be related to the upgrade, or is an extremely strong co-incidence.
Colleagues with the same versions of Visual Studio and Resharper, working on the same project, the same version of Windows and (in one case) the same hardware were not affected, so it seems likely it is an edge case niche issue caused by corrupted data somewhere.
I have a current working theory that this is related to different patch versions of Visual Studio (for example Visual Studio 2012 Update 2, Visual Studio 2013 RTM, Visual Studio 2013 Update 1, Visual Studio 2013 Update 2. This only affects Visual Studio 2013 for us.
Simple solution I use is carry on with your manual merge process once you are done simply Close the Merge-* tab (the one you are using to merge files) this will bring up a prompt for confirming if you want to Save the changes made (this is the merge changes you made to your local file) click 'yes' Now it comes back to Resolve Conflicts tab and brings up another prompt asking if you want to Accept Merge Result, click 'yes'(this is same as the button Accept Merge)
Since you have VS2012 installed and merge is working there, you can create a link to its TF.exe in VS2013, similar to one on the picture below, and fix the issues there. Set Command to c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe and Arguments to resolve.
You do that in Tools->External Tools.

Resources