Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to abuse@whmcs.com

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.

    visual-studio-uninstall.png

  3. Try to install the SQL Server again.

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

    sql-installation.png

          Installation should be completed without any issue.

         SQL-Installation-complete.png

  1. Now, Reinstall the Microsoft Visual C++ 2017 Redistributable (x86) and (x64).
Was this answer helpful? 2 Users Found This Useful (2 Votes)

Powered by WHMCompleteSolution