Visual Studio Windows WebView2 installation error -2147219198

Lebedev Roman 21 Reputation points
2022-09-10T12:41:29.147+00:00

239690-error.png

Visual Studio installer returns -2147219198 error on the last stage of installing. As a result, Visual Studio is installed but there aren't any templates etc. I tried to uninstall WebView2, Microsoft Edge, Edge updater, turn off Windows Defender but nothing happens (Of course I tried to install WebView2 directly). The installer version is 3.3.2181.41457. Installation happens in the folder without any cyrillic letters in path.

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,693 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.
1,035 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 30,356 Reputation points Microsoft Vendor
    2022-09-12T02:27:10.35+00:00

    Hi @LebedevRoman-2056 ,

    Welcome to Microsoft Q&A forum.

    Please try following suggestions:

    1. Go to C:\ProgramData\Microsoft\VisualStudio\Packages, check if a similar or the same package(folder) partly called WebView2 exists. Open it and double-click to run the .exe/.msi file if this folder and this file exist. If this doesn’t work, try to make a backup and remove this folder, then repair/continue to install VS/VS workloads/VS components.
    2. Use this troubleshooter to check and uninstall then reinstall WebView2, if it finds and lists it.
    3. If you are using VS 2022, please make sure that you are installing a version higher than 17.2.
    4. Try to remove VS 2022, and then reinstall it if above suggestions don’t work. If you don’t want to reinstall VS, you can try to collect the VS setup log files, by downloading and running this collect.exe tool. The vslogs.zip file will be generated in the %temp% folder. You can check this folder(dd_setup_xxxx, dd_installer_xxxx, dd_bootstrapper_xxxx files inside it) for detailed error message, or share some key error messages here.
    5. Try to report this issue on our Developer Community through VS Installer, or directly report here: Developer Community - .NET(give you the .NET entry as reporting VS issues needs VS to be installed well. Don’t worry, VS product team will help to add the correct setup tag).

    Best Regards,
    Tianyu

    • 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.
    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.