vs shell installation has failed with exit code 1638.

You may receive the following error while installing MSSQL 2017 on Windows 2012 R2 Server.

vs shell installation has failed with exit code 1638

This error occurs because Visual Studio 2017 already installed before the SQL Server installation.

  1. Go to Control Panel >> Programme >> Programme and Features.

  2. Uninstall the Microsoft Visual C++ 2017 Redistributable (x86) and (x64) as per the below screen capture.



  3. Try to install the SQL Server again.

  4. You must select the Database Engine Services while installation of SQL Server without fail.

          Installation should be completed without any issue.

         

  1. Now, Reinstall the Microsoft Visual C++ 2017 Redistributable (x86) and (x64).

  • 4 Users Found This Useful

Was this answer helpful?

Related Articles

Microsoft SQL Server 2016 Recommendation

The SQL Server 2016 Express is the latest data management system from the Microsoft. Like the...

How to take MSSQL database offline or bring it online?

Sometimes, you come across to a situations when you are required to physically move the database...

How do I connect to MSSQL Server 2008 from SQL Server Management Studio?

This article will guide you on how to connect to MS SQL Server 2008 from SQL Server Management...

How to Create MS SQL Database Through SQL Server Management Studio?

This article will assist you to create MS SQL database through SQL Server Management Studio....

Comparison of MS SQL Server 2014 Express Edition V/s. MS SQL Server 2014 Web Edition

Following is a brief comparison between MSSQL Server 2014 Express Edition and MSSQL Server 2014...