Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vs shell installation has failed with exit code 1638

I have received the following error while installing MSSQL 2017 on Windows 2012 R2.

vs shell installation has failed with exit code 1638

enter image description here

like image 238
Hiren Parghi Avatar asked May 25 '18 08:05

Hiren Parghi


1 Answers

You must install SQL Server first before installing Visual Studio 2017.

If you have already installed Visual Studio 2017, do not worry, just follow the steps below:

Uninstall the Microsoft Visual C++ 2017 Redistributable (x86) and (x64)

enter image description here

Then install SQL Server.

Do not forget to select "Database Engine Services"

enter image description here

Change "Startup Type" of SQL Server Browser from "Disabled" to "Automatic"

enter image description here

The installation will be done without any problems:

enter image description here

Then reinstall the Microsoft Visual C++ 2017 Redistributable (x86) and (x64)

like image 165
Husam Ebish Avatar answered Sep 23 '22 09:09

Husam Ebish