Cannot Install Visual Studio 2015 Community on Windows 7 - c++

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').

Related

Mysql fail to install for visual studio

As my title says it all. I had a problem with installing Mysql for Visual studio.
As this messages pops up all the time i open the installer.
At first I was installing the full developer package from the Mysql installer and it had fails to install
for Visual studio, so i downloaded the solo installer for that part and it still fails.
Notes: I have Visual studio 2019 community edition, and I am downloading MySQL for Visual Studio 1.2.9
Error message

Can't install extension + version selector shows empty list

Edit: After wait too long, I have resorted to do a clean install of Windows 7.
It solves everything.
I believe the cause is : some Windows files, or some service are disabled, by me or virus.
Now, I can no longer test any solution so I accept the existing useful one.
Original Question
My Visual Studio 2017 can run & compile C++ code, but :-
(main problem) can't install any Extension (double click .vsix yield nothing)
double click .sln will popup "Choose Application" that shows no choice. (but "Open with..." works OK)
This issue happens only to my computer in workplace.
It had worked OK before I cleaned up my system.
I tried :-
install, uninstall and repair Visual Studio 2017 several times.
https://github.com/Microsoft/VisualStudioUninstaller
%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe -full then reinstall (can remove "(2)", but not other symptom)
update to the latest version 15.9.17
(Thank comment from Jeaninez - MSFT) Make sure my .sln start with this at the first line:-
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
I believe the issue is related to Microsoft Visual Studio Version Selector.
This symptom might come after I uninstall VS2019.
My system might be broken?
Perhaps, the cause may be somethings very deep in OS. I am considering reinstall Windows 7.
Reference:
Why I think it is Version-Selector-related : Can't install the extension on Visual Studio 2017 after installing Visual Studio 2019
Similar question (2014) : How do I add versions to “Visual Studio Version Selector”, my list is empty (repair not help)
Visual Studio Version Selector Doesn't open (2010)
Best link about (2) : https://developercommunity.visualstudio.com/content/problem/251934/vs2017-community-edition-shows-2-in-title-name.html
To install extensions, try to find VSIXInstaller.exe on your disk. Normally it is installed here:
c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VSIXInstaller.exe

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

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.

Visual Studio c++ download and excecution for new computer with windows 8.1 64bit

I just bought a new computer, with Windows 8.1 64bit installed and wanted to start developing in C++.I am new to Visual Studio, I used to do it with eclipse but suggestions I found in the internet were to prefer Visual Studio.
I tried to download Visual Studio C++ 2008 redistributable package (x64) from here http://www.microsoft.com/en-us/download/details.aspx?id=15336.
But I couldn't find where it was stored in my computer, after searching it with key words. Then I uninstalled it, to install again from scratch.
To uninstall it I opened my control panel and it saw that I have Microsoft Visual C++ 2012 Redistributable (x86) installed already, assuming it comes with the computer I bought, and the date of installation matches this. I can't find though where it is stored so I can't open it.
When downloading Visual Studio 2008, it says I need to uninstall previous Visual Studio versions.
Bottom line:
Should I uninstall the Visual 2012 (x86) that probably came with the computer (which is 64bit)? Or should I use it (and try to find where is it located)?
If I shouldn't use the 2012: Was the 2008 version I tried to install good? (2008 gives an "old" intuition, but just my intuition).
Is there an easy way to find out where the application is located for excecution? Any specific file to look for?
thank you
You want to download thee actual Visual Studio IDE from http://www.visualstudio.com/ . Try downloading the free Community Edition for a start.
The Visual Studio redistributable packages are actually the minimal runtime libraries to run C++ programs that were compiled with visual studio. You got a version installed by default even on fresh computers, otherwise you can't run many programs (they are also included with the IDE).
The redistributables are also often bundled with installers to make sure that others can run your programs.
The VC++ Redistributable packages only include the libraries required to run applications built with the respective version of Visual Studio (for example Microsoft Visual C++ 2012 Redistributable is for Visual Studio 2012).
It does not include any version of Visual Studio.
You could uninstall Microsoft Visual C++ 2012 Redistributable (x86) but however as it was preinstalled on your computer, I imagine that some program pre-installed by the computer manufacturer requires it. It's probably not a good idea to remove that.
So no, it's not a good idea to remove it.
In order to use the 2012 version of Microsoft Visual C++ 2012 Redistributable you should install the vs120 compiler, aka the VC++ compiler that comes with Microsoft Visual Studio 2012.
For developing with Microsoft Visual Studio 2008, using Microsoft Visual C++ 2008 Redistributable is completely fine as it matches the compiler version. However if you want to use the newer 2010, 2012, 2013, and 2015 versions you need to use those respective versions of the Microsoft Visual C++ Redistributable.
If you wish to use an up-to-date version of Visual Studio, try the Visual Studio 2013 Community Edition, or if you're feeling adventurous try the Visual Studio 2015 Release Candidate.
The application you built is always located in the project's directory, under /Debug or /Release, depending on whether you built a debug or release version of the application. If you do not know where your project folder is located you may right-click your project in the File pane and click Open folder in Windows Explorer.

visual studio 2012 crash after installing visual studio 2013

Recently I have downloaded Visual Studio 2013 ultimate, and I already had Visual Studio 2012 professional which was working fine.
However, after installing the VS2013, all of my VS2012 projects won't load. Even won't let me add any new files to the projects.
So, I captured the activity log by running the devenv.exe with devenv.exe /log command. An error was occur during opening up projects.
ERROR Extension will not be loaded because an extension with the same
ID 'Microsoft.Windows.DevelopmentKit.Desktop' is already loaded at
C:\PROGRAM FILES (X86)\COMMON
FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS
KITS\8.0\DESKTOP SDK...
C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS
KITS\8.1\DESKTOP SDK\ Extension Manager
Can anyone help me solving the problem?
I had the same issue. The problem is caused by VS2013 installing two tools automatically that conflict with older version previously installed with VS2012. (sigh). The two tools are:
Microsoft.Windows.DevelopmentKit.Desktop
Microsoft.WinJS
VS2012 installs version 8.0 and VS2013 installs version 8.1
Solution
Control Panel - Programs and Features
Select Microsoft Visual Studio 2013
Select Change
Select Modify
Unselect Tools for Maintaining Store Apps for Windows
8 and Windows Phone 8.0 SDK
Save and restart either VS2012 or VS2013
If the error isn't gone, unselect anything having to do with developing Windows apps/programs and try again.