vs shell installation has failed with exit code 1638.

You may receive the following error while installing MSSQL 2017 on Windows 2012 R2 Server VPS or Dedicated 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.

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

Related Articles

Choosing Between SQL Server 2012 and SQL Server 2014

If you are running SQL Server 2008 R2, you might be looking to upgrade your SQL server to...

Fix - Microsoft SQL Server, error: 10053 - An established connection was aborted by the software in your host machine

One of our Windows VPS customers received following error while connecting to MS SQL server....

How to change Database Collation in MsSQL Server?

Collation is a configuration level setting in the MSSQL. It directs how the character data will...

How to fix “Reporting Services Catalog Database File Existence” error while installing SQL Server?

You may receive the below error while installing the SQL server on your windows system. This...

  • 6 Users Found This Useful

Was this answer helpful?