Share via

Does WebView2 works in Windows Recovery Environment (WinRE)?

Devanathan 16 Reputation points
2024-11-18T11:11:42.7566667+00:00

I want to install WebView2 in WinRE environment for our project. So I want to access some network sites, specifically MSFT sites from WinRE environment. So is it possible to install or Inject WebView2 into WinRE?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-11-19T07:47:20.8933333+00:00

    Hello Devanathan,

    Thank you for posting in Q&A forum.

    Yes, but you need to create a WinRE image include Webview2, here are some steps you can try:

    1. Custom WinRE Image: You can create a custom WinRE image that includes the WebView2 runtime. This involves mounting the WinRE image, adding the necessary files, and then committing the changes. Here's a high-level overview:

    • Mount the WinRE image using DISM.

    • Copy the WebView2 runtime files into the mounted image.

    • Commit the changes and unmount the image.

    1. Network Access in WinRE: Ensure that your WinRE environment has network access. This might involve configuring network drivers and settings within the WinRE image.

    Reference:

    Customize Windows RE | Microsoft Learn

    Microsoft Edge WebView2 | Microsoft Edge Developer

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

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

    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

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