SQL installation-VS Shell installation has failed with exit code 5

Background:

During the installation of SQL 2016 STD,there has one error raised,checked the log of installation,found below errors:

SQL installation-VS Shell installation has failed with exit code 5_第1张图片

TITLE: Microsoft SQL Server 2016 Setup
------------------------------

The following error has occurred:

VS Shell installation has failed with exit code 5.

For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=13.0.4001.0&EvtType=0x5B39C8B9%25401434%25403

------------------------------
BUTTONS:

OK
------------------------------

(01) 2018-08-06 11:34:36 Slp: Process returned 5
(01) 2018-08-06 11:34:36 Slp: Package VCRuntime140_Cpu32 installation failed is exit code 5.
(01) 2018-08-06 11:34:36 Slp: Watson Bucket 1

Locate the path of component(package) to be installed from setup files

Run manually as administrator.However the package is not able to install\repair

SQL installation-VS Shell installation has failed with exit code 5_第2张图片

By the mean time,there has one document from

https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows indicates that the UC runtime in windows is not updated.

Solution:

Download and install the related windows updates,after that the SQL installation is able to proceed the action and no errors raise.

 

转载于:https://www.cnblogs.com/roseHLF/p/9429743.html

你可能感兴趣的:(SQL installation-VS Shell installation has failed with exit code 5)