Assume that the Microsoft Visual C++ 2015 Redistributable is installed on a server. When you try to install an earlier version on the server, you receive the following error message:

Feature: Database Engine Services
Status: Failed
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, and then try the setup process again.
Component name: Microsoft Visual C++ 2015 Redistributable
Component error code: 1638
Component log file: FilePath\VCRuntime140_x64_Cpu64_1.log
Error description: VS Shell installation has failed with exit code 1638.
Error help link:


This issue is fixed in the following cumulative updates for SQL Server:

Cumulative Update 13 for SQL Server 2017

Cumulative Update 16 for SQL Server 2016 SP2

Each new cumulative update for SQL Server contains all the hotfixes and security fixes that were in the previous build. We recommend that you install the latest build for your version of SQL Server:

Latest cumulative update for SQL Server 2017

Latest cumulative update for SQL Server 2016


To fix the issue, use the following workarounds:

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!