英文:
Install WebView2 Winforms
问题
我有一个WinForms应用程序,它使用WebView2,当我在发布模式下构建应用程序时,应用程序正常工作,但当我尝试使用Windows安装程序项目创建项目的安装程序exe文件时,文件会被复制,但总是抛出错误,最近的一个错误是Edge无法读取或写入其目录。
有人知道我是否遗漏了什么吗?
我尝试过Windows Installer、Advanced Installer和WinRAR SFX。
英文:
I have a winforms application, it's using WebView2, when I build in release the app works fine, when I attempt to use Windows installer project to create a setup exe file for the project, the files get copied but it always throws an error, the most recent one was that edge can't read or write to its directory.
Does anyone know if there is something I am missing please ?
I tried windows installer, advanced installer and winrar SFX
答案1
得分: 0
感谢 @David Risney,问题出在安装目录上,一旦我将安装移到用户具有写权限的目录,问题就解决了。
英文:
Thanks to @David Risney, the problem was the installation directory, once I moved the installation to a directory the user had write access to the problem was solved.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论