I was getting below error during the SQL server 2017 installation.
VS Shell installation has failed with exit code 1638
Reason:
- Exit code 1638 denotes “Another version of this program is already installed”.
- In my case, I already had Visual Studio 2017 installed on my machine and there was conflict due to “Microsoft Visual C++ 2017 Redistributable” components which got installed with Visual Studio 2017.
Fix:
This issue was annoying and had to spend couple hours to find the actual reason and fix. Below fix worked in my case.
- Uninstall Visual Studio 2017
- Go to Control Panel and uninstall below ‘Microsoft Visual C++ 2017 Redistributable‘ components
![]()
- Restart the machine
- Try installing SQL Server
- Proceed with Visual Studio 2017 installation
🙂

![[Step by Step] Configure and run 'Pipelines in Power Platform'](https://rajeevpentyala.com/wp-content/uploads/2024/08/image.png)
![[Beginners] Power Fx: ShowColumns, AddColumns, RenameColumns and DropColumns](https://rajeevpentyala.com/wp-content/uploads/2024/04/record-ezgif.com-video-to-gif-converter-1-2.gif)
Leave a reply to Daniel Adeniji Cancel reply