Continue Visual Studio 2015 installation of features - visual-studio

I recently added the required components for creating universal apps for Windows 10 in Visual Studio 2015. However, I didn't have the time to finish the installation. The installation was cancelled successfully and I was met with a message like this: '52 of 58 components was successfully installed.'.
I didn't get any information on how to continue this process. Is there any way of continuing the installation? I've tried looking around in Visual Studio 2015, and I can't find any place to do this. I also tried downloading the emulators again, because that's the one that didn't finish. I then get a message which says I need to uninstall an already installed version of the Windows 10 emulators.
The original installation was triggered through Visual Studio when I tried to choose 'Universal'. It didn't have any of the templates available and said it needed to install the SDK. I was then met with the sweet checkbox GUI (it looks just like this) where I chose what to install.
Is there any way to get back into this GUI, or, are the any way of continuing this installation?

If you download the installer again and run it, there should be a "modify" option I believe. From there you can add features you wish via the checkbox screen you mentioned.
UPDATE: This can be remedied by using "change" within programs and features. From then you can modify the installation to add necessary features. (See comments for more details)

Related

Cannot install any Visual Studio program

I have been trying to install Visual Studio for a couple of days now and none have operated. First I tried Visual Studio Community 2017 and the installer was installed and then the vs was installed but when I try and run it I got an error message that directed me to the ActivityLog file. I've tried uninstalling it then reinstalling it but that didn't work. I came across a solution that required me to try opening it using the Developer Command Prompt which I wanted to do but when I clicked on it from the Start menu it said that the link is missing. There was another Visual Studio program that had also installed and when I tried loading that one, it also directed me an ActivityLog file.
So I uninstalled the 2017 version and tried installing an earlier version hoping that it would work. I can reinstall for whomsoever would want to see the error message as well as the log file.
I then tried the 2013 version (since that is the one we use at school anyway). After downloading the file, I do not even get to an installation screen. A pop-up appears that says that the program requires the Microsoft .NET framework to work
Installation pop up window
The first time I tried it gave me options to accept and continue or cancel so I clicked on accept and continue and that was the end of it. Nothing happened after that. Now when I click on the installation file it just appears as in the picture above with no options. I tried to follow the instructions on Cannot install Visual Studio 2017 Community since that is the closet to my problem that I have found but it still didn't work.
Please help. I really need at least one Visual Basic to work.

Visual Studio 2015 - how to run: vs2015.1 rc.exe /override feed url <Path to feed.xml>

It happened that I cancelled an update when updating Visual Studio 2015 Community,
it cannot load the original solution I have had,
It gave such error:
Invalid entries passed to /FilterFeatureSelectionTree
then I searched on MSDN said to run:
VS2015.1 RC.exe /overridefeeduri
But it is said "Syntax incorrect in command"
Does anyone know how to run the above command successfully?
VS2015.1 RC.exe refers to the Visual Studio 2015 installer executable. So for example, if you saved the installer as C:\vs_community_ENU.exe and you want to use the English feed.xml, the command line would be:
C:\vs_community_ENU.exe /overridefeeduri "http://go.microsoft.com/fwlink/?LinkID=564093&clcid=0x409"
Note that the URL needs to be in quotes if executing from the command-line, otherwise the command-line interpreter might misinterpret the & in the URL and think that you're trying to issue multiple commands.
The best way to solve this is to download VS 2015 setup here: https://www.visualstudio.com/products/visual-studio-community-vs
then run the installer, choose "Modify" and select features you want install.
it did work for me as I wasn't able to install Python Tools from Visual Studio, but running the installer di solve the issue.
According log from failling installer, xml feed was alright, so previous answer cannot help.
Edit: I think the bug appears once you run the Web Platform installer, and if you cannot install it with VS installer, you should use Web Platform Installer instead
It looks like you need to know the path URI for the feed. MSDN says the syntax is
VS2015.1 RC.exe /overridefeeduri <Path to feed.xml>
You left off the last argument. The english feed URI is http://go.microsoft.com/fwlink/?LinkID=564093&clcid=0x409. The page you linked contains the URIs for other languages if needed.
I wasn't also able to install Python Tools from Visual Studio. Then I resolved this issue by trying multiple trial and error steps.
Trial 1:
I researched to find out the installer that installed the MSVS2015 in my Machine.As it was my office PC the installation was pushed out by the IT. The installer I found was at this directory
C:\ProgramData\Microsoft\VisualStudioSecondaryInstaller\14.0\installers\VS_SDKV1\en\0\vs****.exe
then I applied the following command
C:\ProgramData\Microsoft\VisualStudioSecondaryInstaller\14.0\installers\VS_SDKV1\en\0\vs****.exe /overridefeeduri feed.xml
After doing this My VS became unresponsive. I could not start it from the start menu.I thought I have by any chance damaged my Installation.Now I moved forward to step 2.
Trial 2:
go to Control Panel>Programs and features>select [Microsoft Visual studio 2015]>rightclick>[change]
On the screeen that appears on the window hit "Repair"
After the repair is complete. I repeated step a and this time I hit "modify" button. selected the "Python tools for Visual studio" and moved forward with "install/next" etc.
It worked out.I think only step 2 is good enough to set things right.I am not sure if Trial 1 did any good or not.
Thanks.

Can't install Visual Studio - stuck on Visual Studio Hub Services

Now I have some big problems with installing Visual Studio Community.
These problems came when I got back to Windows 7 from Win10 (because I had some problems).
When I launched the actual Visual Studio for the first time on Win7, it loaded good, but I didn't have any templates. So I decided to reinstall it.
Uninstall went good, but when I tried to install it again, it just stopped at Microsoft Visual Studio Hub Services or something like that. It just really stopped, when I let it go, the progress bar never moved. Then it also said that it couldn't find it or something similar.
And then the fun starts. I tried to do it several times, same. Then I downloaded the Visual Studio 2013 Community, and it stopped on Build x86. Same like the Hub Services at the 2015 version. I gave up at this moment. But after that, I went angry and removed the all Visual Studio folders in the Program Files.
But later on, I found the Visual Studio 2015 Express for Desktop, I downloaded it and that time it said right at the beginning: A Prerelease version of Visual Studio Community is currently installed. Please uninstall it prior to proceeding with your current installation.
I listened to it, went to Remove and Add Programs thing (don't know what name is it in english) and yeah, there was a version of that Visual Studio I removed. I tried to uninstall it, but it just said something again: The installation source for this product is not available. Make sure that the source exists and that you can access it.. And that's basically all.
So I would like to ask, how to fix this thing. It's because of that movement from Win10 to Win7? Or because of the VS folder deletement in Program Files? Any answers are very welcome!
EDIT: Main problem is that it stops at Microsoft Visual Studio Hub Services, I managed to uninstall the 2015 Community version, but then it stops and just didn't move, the only way was to remove the process to shut down the installing window and cancel the installing.
EDIT 2: Well, kinda shy of my grammar back then, fixed some bigger mistakes.
When Visual studio is installed, several other programs get installed. So when you try to uninstall visual studio, you should uninstall all other bunch of programs which were installed along with actual visual studio(which is a bit burden). It take so much time for me to uninstall all the programs from my computer. So while re installing please make sure you uninstall all the other installed apps also.
[EDIT: you may want to scroll to the bottom for the nuclear option which I wish I'd discovered earlier!]
I've downgraded two computers from Windows 10 to 7, both with VS2015 on them. One worked and the other had its VS2015 break horribly. I also deleted the VS2015 directory and registry data that mentioned VS2015 and all sorts, and I had even more problems than you describe :) I think the difference is that I installed some new things (node.js and TypeScript) under Windows 10, and they inserted things into VS2015 which were no longer properly installed after the downgrade.
Here are my discoveries in a hopefully useful order:
When it hangs, what it's actually doing is trying to display this prompt asking you to supply the path to an installer it couldn't find.
You usually get to see these prompts if you 'Run as Administrator' the (main) installer (rather than letting it obtain Administrator privileges itself). Process Explorer helps shed light on this: if the main installer's window is associated with the child process, then the dialogues are visible. If the root process, they're not.
The prompt relates to old versions of packages that the installer wants to uninstall prior to installing a new one, and for some reason the installer doesn't know how to re-download those packages. It is usually looking under C:\ProgramData\Package Cache for them.
If you aren't seeing the dialogue, you can view logs in C:\Users\<you>\AppData\Local\Temp. Use the 'Details' view and sort this folder by date modified, to help you find the right one. Each sub-installer tends to make a new file so you may have to poke around a bit. Changing dates or file sizes also tell you that it's doing something.
Messages like this tend to be associated with the attempt to show a dialogue:
MSI (s) (24:D8) [13:00:25:033]: SOURCEMGMT: Trying source C:\ProgramData\Package Cache\{388D7468-1CCA-40C8-9F08-4C20E972E922}v14.0.25123\packages\BuildTools_MSBuildResMsi_amd64\.
MSI (s) (24:D8) [13:00:25:033]: Note: 1: 2203 2: C:\ProgramData\Package Cache\{388D7468-1CCA-40C8-9F08-4C20E972E922}v14.0.25123\packages\BuildTools_MSBuildResMsi_amd64\BuildTools_MSBuildResMsi.msi 3: -2147287037
MSI (s) (24:D8) [13:00:25:033]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.
So, what to do about these missing packages?
If you have another computer with a working Visual Studio 2015 installation, you can copy the entirety of Package Cache from there to your bad computer (no need to merge folders that already exist) and that will hopefully catch many of them.
For the rest, I tried a few third-party uninstallers, and Revo Uninstaller helped. Go into its settings and enable 'Show System Components'. Then, whenever you identify a problematic package, you'll usually be able to find it in Revo Uninstaller. If you uninstall it, you'll see the usual prompt (cancel it), and after it fails, Revo's 'Moderate' registry cleanup option does the trick ('Safe' didn't). If you use the Pro version then you can multi-select and use the 'Quick Uninstall' batch option, which isn't quite automated - yes, I'm afraid it will be tedious - but with some patience, you can get through everything.
Identifying the problematic packages is still a manual process, but the good news is that you can cancel many of the prompts during a run of the installer without it aborting, so you can collect a lot of package names as you go. You can also look for patterns in version numbers; for me, a lot of them were 14.0.15123` or something like that.
For me, just one package didn't show up in Revo Uninstaller, and I searched the registry myself and deleted some occurrences. I'm not sure if that or the subsequent install of the new package was what did it, but even that one went away.
So, after all that, I'm pleased to report that Visual Studio 2015 has got through the 'Repair' operation with no further errors. I still need to reboot before I can see if it runs without a hitch...
[EDIT: Nuclear option follows]
It didn't. Many of the standard windows (code editor and error list to name a couple) failed to load with the error "An item with the same key has already been added". On the plus side, at least Visual Studio didn't suddenly exit moments after opening. So that's an improvement and 2-3 days well spent :)
After that:
I found this answer and tried the TotalUninstaller linked therein.
Then I deleted more of the installation where that uninstaller reported it couldn't delete a non-empty directory.
Then I was going to reinstall from scratch, but would you believe it - it gave me Modify/Repair/Uninstall options! So I ran the Uninstall. (Maybe Repair would have worked, who knows?)
Then I reinstalled from scratch.
There was just one more failed uninstall of an old thing (Microsoft Web Deploy), but it didn't even report a warning at the end because of it, and now my Visual Studio finally seems to be intact - fingers crossed! (I may never test that web deploy thing anyway - I mainly use it with Unity. Of course I had to install the Unity tools again.)
So yeah. I have no idea if this works by itself or if you also have to do all the other stuff. If you try it and find out, let us know.
Since you are still seeing Visual Studio in Remove and Add Programs, your environment may not be entirely clean and you will have to first completely remove Visual Studio from the system. This should be independent of whether you're using Windows 7 or 10.
You may need to do further research, but here are some initial pointers:
https://msdn.microsoft.com/en-US/library/Aa983433(v=VS.90).aspx
https://support.microsoft.com/en-us/mats/program_install_and_uninstall
Beyond trying those things and then re-attempting the install, please look for any logs generated from the failures. For example, in your %temp% folder.
In my case , I just restart the PC and after it boots up the VISUAL STUDIO 2015 will automatic come back and keep running. I did it with 2 PCs of users and with version Professional. Hope this helps.
Note : Please make sure to close all VS running on your PC before running install 2015 (in my case is VS Pro 2013) and make sure Windows updates have finished running (if they have).
Uninstall any version of visual studio 2015 you already might have installed.
Then, delete this key: I had a similiar issue and found finally as cause entries under
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DevDiv\vs\Servicing\14.0. .

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 2005 build problem

Cheers,
I have Microsoft VS 2005 installed (full version). And when I'm trying to build or debug my solution (with 10 projects) a windows installer window opens and says:
The feature you are trying to use is on cd-rom or other removable....
So I then put my VS2005 CD and VS does his thing and than my build and debug processes are working. But when I shut down VS and open it again and when I want again to build my solution it asks me the same thing.
I deleted VS2005 and installed it again (again full version) and it asks me the same thing. I am really crazy right now.. why VS just don't do "update" or something, I don't want to insert CD every time I start VS.
tnx
When Visual Studio was installed on your system, you might have chosen a typical installation or a custom installation that did not include everything available to it. This is appropriate in some cases (low disk space, you know only a certain subset is all that is aver or should ever be used).
Try reinstalling, and make sure its a complete install. And don't have it delete unused pieces.

Resources