if you are getting below error while installing MSSQL 2017 on dedicated server then you can follow below steps to resolve this issue:
vs Shell installation has failed with exit code 1638
The main reason for this error is there Visual Studio 2017 already installed on your server before SQL...