Fix: VS Shell Installation has Failed with Exit Code 1638

This post provides a fix suggestion for the error message “VS Shell Installation has Failed with Exit Code 1638“, when trying to install SQL Server 2016 features on a Windows Server.

 

When you Might Get this Error?

You might get the “VS Shell Installation has Failed with Exit Code 1638” error message when trying to install specific SQL Server 2016 features on a Windows Server.

For example, you might get this error, when trying to install SQL Server Integration Services (SSIS) on a Windows Server.

 

Why you Might Get this Error?

The reason for getting this error is because, certain SQL Server 2016 features, in our example SSIS, have as a prerequisite “Visual C++ Redistributable for Visual Studio 2015”.

So, if you don’t have these redistributables (x86 and/or x64) on the specific server, that’s why you get the “VS Shell Installation has Failed with Exit Code 1638” error message.

 

How to Resolve the Issue

The above issue, can be easily resolved, by installing “Visual C++ Redistributable for Visual Studio 2015” (you can get it from here).

If however you already have a higher version of the Visual C++ Redistributable installed, for example Visual C++ Redistributable for Visual Studio 2017, you will have to uninstall this first in order to be able to install the 2015 version and after that, you can re-install the 2017 version as well.

So the workflow for fixing the specific issue would be:

  1. Uninstall Visual C++ Redistributable for Visual Studio 2017 (if installed)
  2. Install Visual C++ Redistributable for Visual Studio 2015 (x86 and/or x64 or both – you can get it from here)
  3. Re-install Visual C++ Redistributable for Visual Studio 2017 (if was installed in the first place – you can get it from here)
  4. Try again to install the SQL Server 2016 feature that you are trying to install

Note: Under certain circumstances, a restart might be required.

 

Have you Checked our Online Course?

We hope you found this tip useful. We have an on-demand online course that can help you learn more essential tips, when it comes to efficiently administering SQL Server.

The course is titled “Essential SQL Server Administration Tips (Hands-On Guides)” and via this course, you will learn essential hands-on SQL Server Administration tips on SQL Server maintenance, security, performance, integration, error handling and more.

Essential SQL Server Administration Tips - Online Course with Live Demonstrations and Hands-on Guides
Essential SQL Server Administration Tips (Hands-On Guides)

Enroll Now with Discount!

 

Featured Online Courses:

 

Read Also:

 

Check our other related SQL Server Administration articles.

Subscribe to our newsletter and stay up to date!

Check out our latest software releases!

Check out Artemakis’s eBooks!

 

Rate this article: 1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)

Loading...

Reference: SQLNetHub.com (https://www.sqlnethub.com)

© SQLNetHub