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
2022-06-16T06:40:30.843+00:00

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.
439 questions
{count} votes

Accepted answer
  1. Junjie Zhu - MSFT 6,111 Reputation points Microsoft Employee
    2022-06-16T09:06:03.187+00:00

    Hello,
    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}

    211964-image.png

    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: Most helpful