最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

webview2 - Is there a way to have a WiX installation package mimic the behavior of Visual Studio's deployment? - Stack O

programmeradmin0浏览0评论

I've built out a winforms application in Visual Studio that utilizes the WebView2 control. When I deploy the application to one of my users via publishing directly to their computer, the application works as expected and can properly load the WebView2 control.

However, when I deploy to a folder and package everything into an msi via WiX the control fails to load, though the rest of the application works as expected.

One thing that I've noticed is that in the initial deployment the following is what is output:

Once the application is run from the folder it was published to, a new folder appears:

When I have WiX package up the pre-run output, install the resulting msi, and run the application, this folder doesn't get created on first launch like it does with the publish option.

If I run the published application, then have WiX package the resulting ApplicationSuite.exe.WebView2 folder, it still does not load in the WebView2 control after installation.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论