SQL Server – v2017 – Error – “VS Shell installation has failed with exit code 1638”.

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

VCRuntimeExitCode1638_2018109_1048AM.PNG

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
  1. VCRuntime
    • Visual C++ Runtime
  2. 140
    • ??? ( Visual C++ 2010 )
  3. 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

  1. Access Programs & Features
  2. Locate Visual C++ 2015
  3. Uninstall programs

Screen Shots

 

Microsoft Visual C++ 2015 Redistributable (x64 ) – 14.0.24215

Selected

programAndFeatures_VC2015_20181009_1051AM.PNG

Modify Setup
programAndFeatures_VC2015_x64_20181009_1052AM.PNG
Uninstall Successful
programAndFeatures_VC2015_x64_Successful_20181009_1052AM.PNG

 

Microsoft Visual C++ 2015 Redistributable (x86 ) – 14.0.24215

Selected

programAndFeatures_VC2015_x86_Selected_20181009_1053AM.PNG

Uninstall
programAndFeatures_VC2015_x86_Starting_20181009_1054AM.PNG
Uninstall Completed

programAndFeatures_VC2015_x86_Completed_20181009_1055AM.PNG

Summary

Once Visual Studio 2015, 32 and 64-bit, was uninstalled the installation of SQL Server 2017 continued un-prompted.

References

  1. Stack Exchange
    • DBA Stack Exchange
      • Help installing SQL Server 2017 – VS Shell installation has failed with exit code 1638
        Link
  2. 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

 

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s