Explore Courses Blog Tutorials Interview Questions
0 votes
in SQL by (6.1k points)

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

Here are the details it shows me after failure:

Action required:

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

Here is the failure reason :

An error occurred for a dependency of the feature causing the setup process for the feature to fail.

I got the following error:

§ 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

Visit to get help on troubleshooting.

I have Windows 10 and Visual Studio 2017 installed. There could be a problem where I installed SQL Server Management Studio 2017 before I installed SQL Server.

I use a similar setup on my personal computer which works fine but in the office, it doesn't. 

And one more difference is in the installation is that it affects C++ Redistributable which is already installed but at work whenever it is failing, it recommends it to be installed in the list of components.

1 Answer

0 votes
by (11.7k points)
edited by

There is the latest version available of Visual C++ Redistributable but some other version of SQL Server is being tied to install like Visual Studio 2017.  There is another solution for this which is if you don't want the latest C++ redistributable, then go to Add or Remove Programs and uninstall all references to Visual C++ 2017 Redistributable. After this, the SQL Server installation will proceed without any interruptions.

If you want to get more insights into SQL, check out this SQL Course from Intellipaat.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Mar 30, 2021 in SQL by rahulnayar01123 (6.1k points)
0 votes
4 answers

Browse Categories