Background
Back installing SQL Server v2017 Developer Edition.
Earlier Post
Our preceding attempt is here:
SQL Server – v2017 – Install – “Oracle JRE 7 Update 51 (64-bit) is required for Polybase”
Link
Error
Got another error.
Error Image
Error Text
TITLE: Microsoft SQL Server 2017 Setup ------------------------------ The following error has occurred: VS Shell installation has failed with exit code 1638. For help, click: https://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=0x5B39C8B9%25401434%25403
Trouble Shooting
Current Status of Install
Install_VCRuntime140_CPU32_Action
The error pasted above came up during the installation of VCRuntime140/32 bit.
This is based on the progress message.
What is Install_VCRuntime140_CPU32_Action?
Glad you asked.
VCRuntime140_CPU32
- VCRuntime
- Visual C++ Runtime
- 140
- ??? ( Visual C++ 2010 )
- CPU32
- 32-bit
Version Number
Let us determine the Product Number for the identified runtime [ 140 ]
Product Version Number | Internal Version Number | Date Released |
---|---|---|
Visual C++ 2017 | 14.1 | March 7, 2017 |
Visual C++ 2015 | 14.0 | July 20, 2015 |
Visual C++ 2013 | 12.0 | October 17, 2013 |
Visual C++ 2012 | 11.0 | August 15, 2012 |
Visual C++ 2010 | 10.0 | April 12, 2010 |
Visual C++ 2008 | 9.0 | November 2007 |
Visual C++ 2005 | 8.0 | November 2005 |
Version Number
It appears that for Version Number 140, our internal Version Number is 14.0.
And, that places us at Visual C++ 2015.
Remediation
Uninstall Visual C++ 2015
Outline
- Access Programs & Features
- Locate Visual C++ 2015
- Uninstall programs
Screen Shots
Microsoft Visual C++ 2015 Redistributable (x64 ) – 14.0.24215
Selected
Modify Setup
Uninstall Successful
Microsoft Visual C++ 2015 Redistributable (x86 ) – 14.0.24215
Selected
Uninstall
Uninstall Completed
Summary
Once Visual Studio 2015, 32 and 64-bit, was uninstalled the installation of SQL Server 2017 continued un-prompted.
References
- Stack Exchange
- DBA Stack Exchange
- Help installing SQL Server 2017 – VS Shell installation has failed with exit code 1638
Link
- Help installing SQL Server 2017 – VS Shell installation has failed with exit code 1638
- DBA Stack Exchange
- Microsoft
- CSS SQL Server Engineers
- Guillaume Fourrat [MSFT]
- Installation of SQL Server 2017 failing with ‘VS Shell installation has failed with exit code 1638’
Link
- Installation of SQL Server 2017 failing with ‘VS Shell installation has failed with exit code 1638’
- Guillaume Fourrat [MSFT]
- CSS SQL Server Engineers