edge install error code : 0x8004070f

right mental 0 Reputation points
2024-12-10T12:43:11.1666667+00:00

Well, It all started when I tried to install the "Visual studio 2022". I downloaded the installer but a error was showing. It said that they can't install webview2 runtime. I tried all solutions on the internet but it couldn't help me. And then I checked that my edge browser's version was old, so I tried to update it but this error code was showing "0x8004070f". I've tried all solutions too, but it couldn't help me. Then a guy said reinstall "edge", So I deleted all the files that related to edge. But when I was deleting all the stuffs, I checked that there are no registries about edge. So that now I have no edge and I tried to reinstall it, but the error code "0x8004070f" was showing again. And I posted some question on the microsoft community, but they didn't said the real solutions. please help...

The log file(Korean) is down below.

설치에 문제가 발생했습니다.

다음을 수행하여 패키지 오류를 해결할 수 있습니다.

1. 각 패키지 오류에 대해 아래 검색 URL을 사용하여 해결 방법 검색

2. 영향을 받는 워크로드 또는 구성 요소에 대한 선택 항목을 수정한 후 설치 다시 시도

3. 컴퓨터에서 제품을 제거한 후 다시 설치

Developer Community에 문제가 이미 보고된 경우 커뮤니티에서 해결 방법을 찾아 볼 수 있습니다. 문제가 보고되지 않은 경우 다른 개발자가 해결 방법을 찾을 수 있도록 새 이슈를 생성하는 것이 좋습니다. Visual Studio 설치 관리자 내에서 오른쪽 위 모서리의 "피드백 제공" 단추를 사용하여 새 이슈를 생성할 수 있습니다.

================================================================================

'Microsoft.WebView2,version=119.0.2151.58,productarch=neutral,machinearch=x64' 패키지를 설치하지 못했습니다.

검색 URL

    https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.WebView2;PackageAction=Install;ReturnCode=-2147219697

세부 정보

    명령 실행됨: "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.WebView2,version=119.0.2151.58,productarch=neutral,machinearch=x64\microsoftedgewebview2runtimeinstallerx64.exe" /silent /install

    반환 코드: -2147219697

    반환 코드 세부 정보: 알 수 없는 오류(0x8004070f)

로그

    C:\Users\Yoon\AppData\Local\Temp\dd_setup_20241210220811_002_Microsoft.WebView2.log

영향을 받는 워크로드

    C++를 사용한 데스크톱 개발(Microsoft.VisualStudio.Workload.NativeDesktop,version=17.12.35410.122,productarch=x64)

    Visual Studio 핵심 편집기(Microsoft.VisualStudio.Workload.CoreEditor,version=17.12.35410.122)

영향을 받는 구성 요소

    C# 및 Visual Basic(Microsoft.VisualStudio.Component.Roslyn.LanguageServices,version=17.12.35410.122)

    C++ 프로파일링 도구(Microsoft.VisualStudio.Component.VC.DiagnosticTools,version=17.12.35527.67)

    C++ 핵심 기능(Microsoft.VisualStudio.Component.VC.CoreIde,version=17.12.35410.122)

    C++ 핵심 데스크톱 기능(Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core,version=17.12.35410.122,productarch=x64)

    DirectX용 그래픽 디버거 및 GPU 프로파일러(Microsoft.VisualStudio.Component.Graphics.Tools,version=17.12.35410.122,productarch=x64)

    GitHub Copilot(Component.VisualStudio.GitHub.Copilot,version=17.12.35527.66)

    JavaScript 및 TypeScript 언어 지원(Microsoft.VisualStudio.Component.JavaScript.TypeScript,version=17.12.35410.122)

    Live Share(Component.Microsoft.VisualStudio.LiveShare.2022,version=1.0.5940)

    NuGet 패키지 관리자(Microsoft.VisualStudio.Component.NuGet,version=17.12.35410.122)

    Test Adapter for Google Test(Microsoft.VisualStudio.Component.VC.TestAdapterForGoogleTest,version=17.12.35410.122)

    Visual Studio 핵심 편집기(Microsoft.VisualStudio.Component.CoreEditor,version=17.12.35410.122)

    Windows용 C++ CMake 도구(Microsoft.VisualStudio.Component.VC.CMake.Project,version=17.12.35410.122)

스크린샷 2024-09-29 155519

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,399 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,268 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShiJieLi-MSFT 11,021 Reputation points Microsoft Vendor
    2024-12-11T02:58:53.2533333+00:00

    Hi @right mental ,

    In my opinion, you have deleted Edge in a wrong way. Simply deleting all files related to Edge could lead to some Edge files left in your disk, thus preventing reinstallation. Please follow these steps to perform a clean uninstallation:

    1. Open Registry Editor.
    2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge
    3. Look for UninstallString. You should find its value, something like "C:\Program Files (x86)\Microsoft\Edge\Application\131.0.2903.86\Installer\setup.exe" --uninstall --msedge --channel=stable --system-level --verbose-logging. It will be used in next steps.
    4. You can also uninstall WebView2 at HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView with the same approach above.
    5. Open Command Prompt as administrator.
    6. Enter the command you have found in UninstallString and execute them.

    After that, Edge/WebView2 should be completely uninstalled. Please then reinstall Edge at the official download page, which also installs WebView2. Running the installer as administrator is recommended.

    Please note that since Microsoft Edge and WebView2 are system components of Windows 10 and Windows 11, you may not be able to uninstall them at all.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards,

    Shijie Li

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.