Is there a way to install the WebView2 runtime from an MSIX Store package (if not already present on the target machine)

Peterjc 71 Reputation points

I've seen some older posts that say this is not possible, but perhaps now, this may have been added?

My context is a WinUI3 project, using a .wapproj to package (want to both install from store and sideload)

Thanks in advance

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
469 questions
{count} votes

Accepted answer
  1. Junjie Zhu - MSFT 6,721 Reputation points Microsoft Vendor

    Welcome to Microsoft Q&A!

    Hope this method should help you.
    Run scripts with the Package Support Framework

    You can use powershell Get-ItemProperty to determine whether the user's operating environment needs to be installed.

    Check if pv(REG_SZ) regkey exists and is not null or empty.
    Find pv(REG_SZ) at: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}


    Thank you.

    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.

0 additional answers

Sort by: Oldest