如何检查的ClickOnce prerequisites后第一次安装? [英] How do I check ClickOnce prerequisites after first install?

查看:281
本文介绍了如何检查的ClickOnce prerequisites后第一次安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我理解正确的话,为prerequisites与第一只的ClickOnce安装检查通过包含prerequisite信息setup.exe文件的应用程序。如果用户打开,未来它会检查是否有新版本的应用程序,但它不会再次启动的setup.exe,因此不检查,可能已添加任何新的prerequisites。

If I understand correctly, ClickOnce only checks for prerequisites with the first install of an application through the setup.exe file that contains the prerequisite information. If the user opens the app in the future it will check for new versions, but it does not launch the setup.exe again, thus not checking for any NEW prerequisites that might have been added.

有没有办法强迫的ClickOnce再次检查prerequisites或有没有人有一个很好的解决方案,而不要求用户再次运行setup.exe?

Is there any way to force ClickOnce to check the prerequisites again or does anyone have a good solution without asking the user to run the setup.exe again?

推荐答案

不幸的是,你的用户将不得不重新运行setup.exe来检查并安装添加了所有新prerequisites。

Unfortunately, your users will have to re-run the setup.exe to check and install all the new prerequisites that you have added.

应用程序部署。

我发现这个在微软的网站

中的Setup.exe(引导程序)是   负责安装所有   您的应用程序之前依赖   运行。该引导程序运行作为   单独的过程,是独立   的ClickOnce的运行时引擎。

The Setup.exe (bootstrapper) is responsible for installing all dependencies before your application runs. This bootstrapper runs as a separate process that is independent of the ClickOnce run-time engine.

这篇关于如何检查的ClickOnce prerequisites后第一次安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆