ClickOnce 自定义先决条件安装问题
我已经为 ClickOnce 创建了自定义先决条件设置项目,它是该项目的“发布”选项卡中的其他先决条件之一。但是,当我尝试通过 ClickOnce(带有设置按钮)安装我的应用程序时,它会运行先决条件设置,并询问我是否要安装它。我点击“安装”,出现以下错误:
以下包文件无法 被发现: C:\Users\..\AppData\Local\Microsoft\Windows\Temporary 互联网 文件\Content.IE5\U2R49322\FontPrecession\setupfont.msi
当我启动应用程序时,它会安装它,但没有先决条件。什么可能导致问题?
I have created custom prerequisite setup project for ClickOnce and it is among the other prerequisites in publish tab of the project. But when i try to install my app via ClickOnce(with setup button) it runs prerequisite setup, and asks if i want to install it. I click "install" and the following error appears:
The following package files could not
be found:
C:\Users\..\AppData\Local\Microsoft\Windows\Temporary
Internet
Files\Content.IE5\U2R49322\FontPrerequisite\setupfont.msi
When i launch the application-it installs it, but without prerequisite. What can cause the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个大胆的猜测,但我假设您已指定用户应从供应商站点下载先决条件。打开先决条件对话框并选择您的先决条件。单击声明从与我的应用程序相同的位置下载先决条件的选项。 (请参见下面的屏幕截图)
这应该将您的先决条件与您的应用程序部署捆绑在一起。希望有帮助。
This is a wild guess, but I would assume that you've specified that the user should download the prerequisite from the vendors site. Open the Prerequisites dialog and select your prerequisite. Click on the option that states Download prerequisite from the same location as my application. (See the screen shot below)
This should bundle your prereq with your application deployment. Hope that helps.