Operational Defect Database

BugZero found this defect 1308 days ago.

Microsoft SQL Server | 12489781

KB4092997 - FIX: VC++ 2015 Redistributable installation returns error 1638 when a newer version is already installed - Microsoft Support

Last update date:

8/2/2023

Affected products:

SQL Server 2017 on Windows (all editions)

SQL Server 2016

Affected releases:

build lower than 14.0.3048.4

Fixed releases:

14.0.3048.4

Description:

Symptoms

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: https://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

Resolution

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

Workaround

To fix the issue, use the following workarounds: Repair the x64 version of Microsoft Visual C++ 2015 Redistributable from Add or remove programs by using following steps: Open Add or remove programs. Find and select Microsoft Visual C++ 2015 Redistributable (x64). Click the Change button. Click the Repair button. If you encounter this issue when installing TFS, you can start VC_redist.x64.exe from the TFS installation files, and then select repair. Use the workarounds in the following documentations: SQL SERVER – Fix: Error – VS Shell Installation Has Failed with Exit Code 1638 Help installing SQL Server 2017 - VS Shell installation has failed with exit code 1638

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Unavailable

Learn More

Search:

...