Visual C++ 2015 Tools for Windows desktop installer won't open - c++

I have installed Visual studio 2015. But I didn't noitced that the typical install didn't include the c++ tools. I follewed this guide on the Visual C++ team blog(https://blogs.msdn.microsoft.com/vcblog/2015/07/24/setup-changes-in-visual-studio-2015-affecting-c-developers/) but when I click on the install button only this window pops up.
Pop up message
And after i press ok it closes and nothing happens(I have tried to run as administrator but nothing changes).

Visual Studio 2015 RC Community will not install, says it is already installed
I had a similiar issue and found finally as cause entries under
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DevDiv\vs\Servicing\14.0. To modify/delete this entries (or the key itself) solved (for me) the problem.

Related

The setup for this installation of visual studio is not complete, really?

I have been using Vs 2017 for several months on dev machine. This fine morning says setup incomplete. Am I missing something?
In this case you need to go to Control Panel => Programs and Features and choose Visual Studio and update it.
VS 2017 (15.6.6) was fine for me on Friday 6/1/18 on Windows 10, but same issue as OP today after a restart.
As suggested by the dialog and Retired Ninja, I ran the Visual Studio Installer (to 15.7.3 after updating VS Installer) and that fixed it.
Note that the 15.7.3 update was a 7.73 GB download. Your download size may vary.
This has happened to me for the last 3 upgrades in Visual Studio Enterprise 2017 (now again on upgrade to 15.9.21).
The fastest fix (and I'm not sure why) is simple and doesn't bomb your settings or take for ever.
In the Visual Studio Installer, click on Modify.
Click "Modify" on the bottom right corner.
Yes it says "Total space required 0 KB".
Yes you didn't really change anything.
It will then act like it is downloading something. (not sure what)
It will then act like it is installing something. (again, not sure what)
Open Visual Studio 2017 and it works.
Hope this helps.
If you have an offline installation like me and can't simply re-run the Visual Studio Installer you can edit devenv.isolation.ini and change the last line to read SetupFinished=true. It will detect your trickery and complain, but at least it will launch again.
Edit: I ended up getting the Visual Studio Installer to fix the issue after choosing the "Download then Install" option. Maybe I was too impatient when I initially stopped the update? My above answer is useful when you need to get work done that isn't affected by the broken features, but you will likely encounter problems later on.
just had the same problem (without any reason with) vs 2019 prof, after googling and reading on that topic, just went to vsix, looked for some individual component to install/uninstall, randomly picked cloud explorer, uninstalled it and some dependent components and VS 2019 prof started normally
decided to leave this here. may be it helps somebody
Solved: I did following steps, run the visual studio and it works for me.
In my case visual studio was working fine , I just restarted the PC, this popup was keep coming when I try to open visual studio.(in my case I was using VS 2019)
Go to this path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE"
Open devenv.isolation.ini, set SetupFinished=true and save.
Now open visual studio.
Cheers!
In my case did following steps:
Clear temp files (you can %temp% in run command and Shift+Delete files)
Restart your computer
Open visual studio it will work properly.
Update: Faced problem again after couple of days, This time I go to C:\Program Files (x86)\Microsoft Visual Studio\Installer.
Click on retry.
Select one more feature which I had already installed on my Visual Studio
Click on modified and after installation it worked again.
This happened to me after I canceled a plugin update.
I solved by going to this site that has the latest update of Visual Studio.
https://learn.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes
I downloaded and upgraded it.
After that, Visual Studio worked.
If your VS is already upgraded, thereĀ“s an option to "repair" on the installer.
For this problem, goto uninstall screen in control panel right-click visual studio and select option change, Installer page will open now, In that window without changing anything click modify. it will solve the problem. I'm using VS Professional 2017
I got the same error today morning. This is what I did:
I ran the visual studio installer then I clicked on Modify.
The installer was showing 0KB Required. I continued and then it downloaded and installed. (Not sure what).
After that installation, it was able to launch.
I hope it works for you as well.
I was using Vs 2019 professional 16.6 and happened to me this issue one morning. I modified the installation by adding Azure Development tools even though I was not using it. This fixed the issue.
I just updated to 15.9.24 and I got this yet again, as I have my resolution above, and Visual Studio 2019 seems to be a lot better with avoid this issue. The installer for 2019 you do have to change something and do the modification, 2017 you don't have to change anything.
I reported this issue through Developer Community:
Setup not complete since 15.9.21
I don't know why but sometimes its buggy
it's up to date but after launch visual studio this error prompted !
you have to click modify in vs installer and just modify it.
its not going to download anything.
after a moment launch vs and enjoy :)
For VS2022, WIN11:
Control Panel > Programs > Programs and Features > Microsoft Visual Studio Installer
Then, click on Change and resume the previous process.

Visual Studio 2015 Missing Universal templates

I've been having this problem for about a month, and I am completely stuck.
Under the "New Project" window I don't see the windows 10 universal templates, but have the sdk and tools installed.
All pictures are in this folder on dropbox.
New Project Window: Capture.png (on dropbox)
What I tried:
.net 3.5 enable/disable under "programs and features"/"Turn Windows features on or off"
full uninstall/reinstall with VisualStudioUninstaller
full uninstall/reinstall with Revo Uninstaller
iso intaller
running "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE>devenv /installvstemplates" command with admin privileges
repairing with original installer
modifying with original installer
The strange thing is that in the installer (when modifying) the Universal Windows App Development checkbox is checked. (Capture1.png ... Capture5.png)
I have, however, found out that the folders at "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ProjectTemplates\VC\Windows Root\Windows UAP\1033" is completely empty... Isn't that supposed to be the template folder for the projects? (Capture6.png)
I would be grateful if you could give me some advice fixing this issue.
Okay, so for anyone having this problem:
Check if the "Windows Installer" service is running under Task Manager/Services.
If not right click and select Start service.
After that run the installer for Visual Studio and select repair.
After the repairing finishes, (reboot if you want, it wasn't required for me) all the templates are installed.
(And yes, if you still have this problem, write to microsoft, they are helpful in these kinds of questions)

Source file inclusion in visual studio

I've just Installed visual studio express 2015 on my PC and when I try to add a new source file to a project by right clicking on the 'source files' option in the solution explorer , the dialog box shows "no items found" instead of showing installed visual C++ templates. What could the problem be?
You most probably have not installed VC++ has while installing Visual Studio. It is sad that C++ is now not installed by default. You might have selected "Default" while installing VS - you should have chosen Custom and selected Visual C++ development. You need to re-install it (just re-launch setup).
If this doesn't help, please post the screenshot.

Can't install missing features on Visual Studio 2015 on Windows 10

I'm working with cocos2d-x framework for c++ using Visual Studio 2015 Community on Windows 10.
When I try to open a solution for a created project, visual studio says some projects are unavailable. When I right click and go to "install missing feature(s)", visual studio says I have to install "Windows XP support for C++".
When I click to install I get a "Setup - Usage" window(that seems to be bigger than my screen). I don't see any button, so I hit enter, but nothing happens. Nothing downloads and nothing installs...
Does anyone have a solution to this?
The message is as follows:
Install Windows XP support for C++
Windows 7.1 SDK for targeting Windows XP
The following projects will not be loaded unless you install the above
feature
All that's needed is to add in Windows XP Support via the installation tool accessible from Control Panel. Steps:
Close Visual Studio 2015
Open Control Panel
Select 'Programs and Options'
Right click on 'Microsoft Visual Studio Professional 2016'
Select 'Change' from the menu (the only option)
Once the installation tool has set up, select 'Modify'
Expand Programming Languages --> Visual C++
Select 'Windows XP Support for C++'.
Proceed with the update.
Note that selecting 'Windows XP Support for C++' automatically selects its dependencies, 'Windows 8.1 SDK and Universal CRT SDK' and 'Common Tools for Visual C++ 2015'.
What I think might have happened for the OP was that in selecting Universal Windows App Development Tools and various C++ options, they hit upon 'Windows XP Support for C++' itself or something that had it as a dependency. So they may have various components installed unnecessarily now. :-(
got your point.
Here are the steps to install it properly.
Go to the below site and try to install it. & select the option as per the snapshot attached here.
https://www.microsoft.com/en-us/download/details.aspx?id=53587
Also, if required, please refer to the below blog.
https://devblogs.microsoft.com/cppblog/setup-changes-in-visual-studio-2015-affecting-c-developers/

Cannot Install Visual Studio 2015 Community on Windows 7

Every time I try to install visual studio community version I run into an issue with missing setup packages. The installer particularly tells me that I am missing vcredist_x86.exe.
However, I have installed the visual c++ redistributable Packages for Visual Studio 2013 as well as the ones for visual studio 2015. I don't get why this message keeps coming up.
I can continue installation if I select "skip", but the message comes back not much later.
Try running the installer with administrator rights (right click on installer exe and select 'Run as administrator').