I was trying to install a new SQL 2017 instance on my dev machine, and came across the following error
“VS Shell installation has failed with exit code 1638”.
So i came across the following kb article to
https://support.microsoft.com/en-us/help/4092997/vc-2015-redistributable-install-error-1638-when-newer-version-present
But my machine doesn’t have “Microsoft Visual C++ 2015 Redistributable (x64)” to repair which is mentioned in this article.
So i repair both “Microsoft Visual C++ 2015 Redistributable (x86)” and “Microsoft Visual C++ 2017 Redistributable (x64)”
This solve the issue.
Enjoy 😂