SQL Server 2017 설치 도움말-종료 코드 1638으로 VS 셸 설치에 실패했습니다 Component log file:

이 오류를 처리하는 방법에 대한 제안 :

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

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

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

이것은 새로운 노트북을 실행

  • SQL Server 2016 Express
  • Visual Studio 2017
  • SSMS 2017

SQL Server 또는 Visual Studio와 관련된 것을 제거하려고했습니다.

로그 : [3500 : 3970] [2017-11-03T16 : 25 : 20] e000 : 오류 0x80070666 : 최신 버전이 설치되어 있으면 제품을 설치할 수 없습니다.

Detailed results:
  Feature:                       Full-Text and Semantic Extractions for Search
  Status:                        Failed
  Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
  Next Step:                     Use the following information to resolve the error, and then try the setup process again.
  Component name:                Microsoft Visual C++ 2015 Redistributable
  Component error code:          1638
  Component log file:            C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20171103_162358\VCRuntime140_x64_Cpu64_1.log
  Error description:             VS Shell installation has failed with exit code 1638.
  Error help link:               https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=VCRuntime140_x64%40Install%400x1638

  Feature:                       Database Engine Services
  Status:                        Failed
  Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
  Next Step:                     Use the following information to resolve the error, and then try the setup process again.
  Component name:                Microsoft Visual C++ 2015 Redistributable
  Component error code:          1638
  Component log file:            C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20171103_162358\VCRuntime140_x64_Cpu64_1.log
  Error description:             VS Shell installation has failed with exit code 1638.
  Error help link:               https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=VCRuntime140_x64%40Install%400x1638


답변

SQL Server 2017 Developer 에서도이 문제가 발생했으며 SQL Server 설치 패키지 사람들의 계획이 잘못되었습니다. 문제는 Visual Studio 2017이 Microsoft Visual C ++ 2017 재배포 가능 패키지 (x86) 및 (x64)를 설치하고 SQL Server 설치가 Microsoft Visual C ++ 2015 재배포 가능 패키지를 설치하려고하는데, 이는 SQL Server 설치가 허용하지 않기 때문입니다. 최신 버전이 설치된 이전 버전을 설치합니다.

Microsoft 지원 문서에서는 문제에 대한 설명과 권장 해결 방법을 제공합니다.

해결 방법 1 : Visual Studio 2017을 설치하기 전에 먼저 SQL Server를 설치하십시오.

솔루션 2 (내가 한 일) :

  1. Microsoft Visual C ++ 2017 재배포 가능 패키지 (x86) 및 (x64)를 제거하십시오.
  2. SQL Server 설치
  3. 그런 다음 Microsoft Visual C ++ 2017 재배포 가능 패키지 (x86) 및 (x64)를 다시 설치하십시오.

그들은 찾기가 조금 어렵 기 때문에 직접 링크는 다음과 같습니다.

X64 : https://go.microsoft.com/fwlink/?LinkId=746572

x86 : https://go.microsoft.com/fwlink/?LinkId=746571

참고 : Microsoft Visual C ++ 2017 재배포 가능 패키지가 전혀 설치되어 있지 않으면 위의 링크 중 하나에서 설치 한 후 SQL Server 설치를 다시 시도하십시오. 지금 작동합니다.


추가 명명 된 SQL Server 2017 인스턴스를 설치할 때이 단계를 반복해야 할 수도 있습니다.


답변

나는 같은 문제가 있었지만 SQL Server 2016에서 업그레이드하고있었습니다.

x86과 x64 모두 Microsoft Visual C ++ 2015 재배포 가능 패키지를 제거한 다음 성공적으로 업그레이드되었습니다.


답변

SQL Server 2017 설치를 복구하려고 할 때 오류가 발생했습니다. 최신 버전이 이미 설치되어있는 경우이 링크 VC ++ 2015 재배포 가능 설치 오류 1638이 반환 된다는 것을 알았습니다.이 문제는 SQL Server 2017 누적 업데이트 13 에서 수정되었습니다 .

그것은 효과가 있었다; 업데이트를 적용한 다음 복구를 실행했으며 오류없이 완료되었습니다.


답변

Windows의 앱 목록에서 MS Visual C ++ 재배포 가능 패키지에 대해 ‘수리’를 실행하십시오.