"installation of WebView2 failed" Error Keeps coming up whenever I tried to install MS Visual Studio 2022 for Unreal Engine 4

Sk Safowan 0 Reputation points
2023-07-19T19:21:42.7033333+00:00

"-2147219198 installation of WebView2 failed"

I tried every single solutions,

Like installing Webview2 manually from both VS Packages Folder (C:\ProgramData\Microsoft\VisualStudio\Packages) and Microsoft website( after downloading it ),

App Uninstaller is showing Edge Webview2 already installed but Still same problem

I tried all DISM Tools commands(CheckHealth, ScanHealth, RestoreHealth) , sfc /scannow command and chkdsk command, they all showed everything is fine.

I did update the windows, And Edge is in latest version but showing "An error occurred while checking for updates: Update check failed to start (error code 3: 0x800700C1 -- system level)"

Nothing Worked! Is there any solution to this ?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,402 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
935 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 23,136 Reputation points Microsoft Vendor
    2023-07-20T03:21:59.3533333+00:00

    Hi @Sk Safowan

    Welcome to Microsoft Q&A! 

    The error may be related to your Microsoft Edge. 

    Please open your Control Panel > Uninstall a program > search “Microsoft Edge WebView2 Runtime” > right-click on it > Change > Repair.

    Then, restart your computer and go to Visual Studio Installer to retry the installation. 

    If it doesn’t work, I would suggest you reinstall the Microsoft Edge using the latest version. Or report a new question in Microsoft Edge to first solve the Microsoft Edge error. 

    You can also consider reinstalling Windows, which may resolve your issue faster. 

    Sincerely,

    Anna


    If the answer is the right solution, 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.