if you are getting below error while installing MSSQL 2017 on dedicated server then you can follow below steps to resolve this issue:
The main reason for this error is there Visual Studio 2017 already installed on your server before SQL Server installation.
Code:
vs Shell installation has failed with exit code 1638
- Navigate to Control Panel >> Programme >> Programme and Features.
- First uninstall the Microsoft Visual C++ 2017 Redistributable (x86) and (x64) and then make a try to install SQL Server again.
- Now you have to select the Database Engine Services while SQL server installation without fail.
- After SQL server installation you can reinstall Microsoft Visual C++ 2017 Redistributable (x86) and (x64) without any issue.