SQL Server 2017 Express Installation fails

Sam picture Sam · Oct 18, 2017 · Viewed 29.6k times · Source

I am trying to install SQL Server 2017 Express on Windows 10 and it is failing.

Here is the details it shows me after failure:

Action required:
Use the following information to resolve the error, and then try the setup process again.

Feature failure reason:
An error occurred for a dependency of the feature causing the setup process for the feature to fail.

Error details:
§ Error installing Microsoft Visual C++ 2015 Redistributable
VS Shell installation has failed with exit code 1638.
Error code: 1638
Log file: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20171018_083459\VCRuntime140_x64_Cpu64_1.log
Visithttps://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=VCRuntime140_x64%40Install%400x1638 to get help on troubleshooting.

I am Windows 10 and have Visual Studio 2017 installed. I'm thinking the problem could be I installed SQL Server Management Studio 2017 before I installed SQL Server.

I have the same setup at home but I installed SQL Server first and then SSMS and everything works fine.

The other difference is at home in the installation dialog it says something the affect that C++ Redistribuble is already installed but at work where it is failing it says it is to be installed in hte list of components.

Answer

Luc Reid picture Luc Reid · Oct 25, 2017

The problem is likely that there's a newer version of the Visual C++ Redistributable than SQL Server is trying to install, e.g., from Visual Studio 2017. So another way to address this, if you don't need the latest C++ redistributable, is to go to Add or Remove Programs and uninstall all references to Visual C++ 2017 Redistributable. After this, the SQL Server installation should proceed without errors.