Replies: 11 comments 1 reply
-
Further update. I believe that this sample might answer my question, although I'm still trying to implement it. Thank you. Further update again: As far as I can tell, none of the deployment samples listed in that repository deal with msix packaging that's necessary to create a store app. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Thanks for posting this issue @OmarJay1 . Store/MSIX support for WebView2 is lacking at the moment, as we're currently working on issues in the same category but with higher priority (shipping WebView2 inbox in future Windows versions, getting some plans together to best-effort push WV2 to in-market devices, etc. so that you have to deal with WebView2 Runtime install in less and less cases and one day you'll not have to worry about deploying runtime), but we will get there later. One thing you can do right now, if you're a Win32 full trust Store app or MSIX app, is that if the runtime isn't already installed, you can download the installer from our CDN (or package the installer with your MSIX package) and then invoke it to install the runtime during app first launch. This requires elevation as WebView2 can only be installed per system right now. |
Beta Was this translation helpful? Give feedback.
-
@liminzhu Is it possible to publish UWP/C# app using WebView2 control in the Microsoft Store? I couldn't find a clear answer to this question anywhere. |
Beta Was this translation helpful? Give feedback.
-
IIRC the WebView2 in Windows 10X is disturbed using appx. But that version doesn't work on standard Windows 10. |
Beta Was this translation helpful? Give feedback.
-
@liminzhu Will Windows 11 in S mode be able to install a store distributed msix packaged App that utilizes Webbiew2? We have been holding off on migrating our WPF app to uwp because of the lack of webview2 support, and it seems that msix packaging could finally become a viable solution. Distribution on Windows in S mode is a big goal for us, and S mode will only run published store apps. |
Beta Was this translation helpful? Give feedback.
-
Any update? |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? I'm using WinUI2 with WebView2 and the WebView2 Fixed Runtime and I'm getting similar messages when trying to publish a release build of a WebView2 app (the apps is just the webview2 and nothing more) |
Beta Was this translation helpful? Give feedback.
-
Windows Store refuses certification of on UWP App (msix) with WebView2 using latest API _CxxThrowException in vcruntime140.dll is not supported for this application type. Microsoft.Web.WebView2.Core.dll calls this API. Windows SDK is updated to latest SDK 10.0.22000.194. to no avail as of #2160 The app passes a locally run WACK. Trying the RunFullTrust...mentioned in #2160 |
Beta Was this translation helpful? Give feedback.
-
Tried the runFullTrust. Crashes on Launch then |
Beta Was this translation helpful? Give feedback.
-
Wondering if you have resolved this now? We are looking and not finding a solution :( |
Beta Was this translation helpful? Give feedback.
-
Is there any update on this issue? |
Beta Was this translation helpful? Give feedback.
-
Is it possible to distribute an app that uses WebView2 in an msix App Store bundle?
This page says you need to check for the dependency and install if necessary in your installation package. I'm not sure how I would do that in an msix package using the Visual Studio Win32 msix packaging tool.
https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution
Thanks.
Update: I found this link which I think will work.
https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-desktop6-installactions
Beta Was this translation helpful? Give feedback.
All reactions