- Remove Visual Studio 2010 SP1 and run the uninstall utility
- Remove Visual Studio 2008 SP1.
- Remove both SDKs for Windows 7 and .NET Frameworks 3.5 and 4.0
- Remove everything else
- Remove the 2008 & 2010 C++ compilers and the Visual C++ 2010 SP1 redistributables.
- Reinstall both SDKs
- Install C++ compiler for Python 2.7 and patch
vcvarsall.bat
- Reinstall the Visual C++ 2010 redistributables for x64 and x86
- Install the Microsoft Visual C++ 2010 SP1 compiler update for Windows SDK 7.1
- Install VS2013 Express with Update 4 or the free VS2013 Community edition.
Name | Size | Version |
---|---|---|
Microsoft Visual Studio 2010 Service Pack 1 | 75.9 MB | 10.0.40219 |
Microsoft Visual C++ 2010 Express - ENU | 10.0.40219 | |
Microsoft Visual C# 2010 Express - ENU | 10.0.40219 | |
Microsoft Visual Studio 2010 Express Prerequisites x64 - ENU | 21.6 MB | 10.0.40219 |
You can follow the instructions I posted in the 3/13/2015 update to Download sites for old, free MS compilers and IDEs but the system restore point has dubious value. In fact it didn't help at all. When I was in trouble I found myself reinstalling the application then removing it again in the correct order. The key here is to uninstall SP1 first, then use Stewart Heath's VS2010 uninstall utility in default mode. If you find yourself in trouble, reinstall VS2010 and VS2010-SP1. If you need installers I have them here in my dropbox.
Name | Size | Version |
---|---|---|
Microsoft Visual C++ 2008 Express Edition with SP1 - ENU |
Same here, make sure you have an installer. The web installer in my dropbox still works surprisingly. Any trouble, reinstall and uninstall again.
Name | Size | Version |
---|---|---|
Microsoft SDK for Windows 7 (7.1) | 7.0.7600.16385.40715 | |
Microsoft SDK for Windows 7 (7.0) | 7.1.7600.0.30514 |
If you have any issues with this, look at the last entry in the log. There's a View Log button when setup fails next to the Finish button. A part of the SDK that the installer is looking for may be missing. Search for the keyword "fail" and "unknown source". If you find an unknown source in the log file, download and extract the ISO from the SDK archives page and run the installer for the missing component. Any archive client will work. I use 7-zip 9-22beta. For SDK 7.0 I had to reinstall Intellidocs before I could completely remove the SDK. And for SDK 7.1 I had to install the Windows Performance Toolkit to remove the SDK completely. Only the ISO will work here, not the redistributables.
Also beware of the Microsoft Install/Uninstall Fixit it doesn't actually do anything but clean your registry. It removed both SDKs but then wouldn't let me reinstall them, all of the files were still in C:\Program Files\Microsoft SDKs\Windows\v7.x
all that was different was that they were not in the add/remove programs control panel.
Name | Size | Version |
---|---|---|
Microsoft Document Explorer 2008 | ||
Microsoft Help Viewer 1.1 | 3.97 MB | 1.1.40219 |
Microsoft SQL Server 2008 R2 Management Objects | 12.4 MB | 10.50.1750.9 |
Microsoft SQL Server Compact 3.5 SP2 ENU | 3.39 MB | 3.5.8080.0 |
Microsoft SQL Server Compact 3.5 SP2 x64 ENU | 4.50 MB | 3.5.8080.0 |
Microsoft SQL Server System CLR Types | 930 KB | 10.50.1750.9 |
Application Verifier (x64) | 55.3 MB | 4.1.1078 |
Debugging Tools for Windows (x64) | 39.8 MB | 6.12.2.633 |
Microsoft Visual Studio 2008 Remote Debugger light (x64) - ENU | ||
Microsoft Visual Studio 2010 ADO.NET Entity Framework Tools | 34.2 MB | 10.0.40219 |
Microsoft Visual Studio 2010 Tools for Office Runtime (x64) | 10.0.50903 | |
Microsoft Windows Performance Toolkit | 26.1 MB | 4.8.0 |
Microsoft Windows SDK for Visual Studio 2008 Headers and Libraries | 114 MB | 6.1.5288.17011 |
Microsoft Windows SDK for Visual Studio 2008 SP1 Express Tools for .NET Framework - enu | 4.41 MB | 3.5.30729 |
Microsoft Windows SDK for Visual Studio 2008 SP1 Express Tools for Win32 | 2.61 MB | 6.1.5295.17011 |
As you can see there is a lot of detritus left behind.
Name | Size | Version |
---|---|---|
Microsoft Visual C++ Compilers 2008 Standard Edition - enu - x64 | 127 MB | 9.0.30729 |
Microsoft Visual C++ Compilers 2008 Standard Edition - enu - x86 | 321 MB | 9.0.30729 |
Microsoft Visual C++ Compilers 2010 SP1 Standard - x64 | 206 MB | 10.0.40219 |
Microsoft Visual C++ Compilers 2010 SP1 Standard - x86 | 613 MB | 10.0.40219 |
Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219 | 6.86 MB | 10.0.40219 |
Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219 | 5.44 MB | 10.0.40219 |
These will be reinstalled later. You can not install Windows SDK for Windows 7 (7.1) with NET 4.0 Framework if you already have the Visual C++ 2010 SP1 redistributable installed or you will get the dreaded error 5100.
Use the web installers linked from the SDK archives page.
The standalone Python compiler will install the VS2008 (VC90) compilers and headers as well as the vcvarsall.bat
batch file that sets environment variables necessary to build Python packages on the fly using pip and setuptools>=6.0. However to build packages using distutils, i.e.: python setup.py build
you will need to patch vcvarsall.bat in your C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
directory. To do this copy the vcvarsall.txt
file that the SDK created as vcvarsall.bat
, then patch it with the Gist in my post. i.e.: patch vcvarsall.bat vcvarsall.bat.patch
in bash after downloading and extracting the Gist.
The Express edition only has VB, C# and C/C++ compilers, and does not allow extensions, whereas the community edition has everything, but is restricted for commercial use in large corporations.
No comments:
Post a Comment