简体   繁体   English

Install4j-批量更新

[英]Install4j - Batch updating

By default, install4j auto-update functionality allows to download updates one-by-one. 默认情况下,install4j自动更新功能允许一对一下载更新。 I want the user to be able to download all available updates in the background and batch-install all of them in one step when download is finished. 我希望用户能够在后台下载所有可用更新,并在下载完成后一步就批量安装所有更新。

Does install4j provide this functionality? install4j是否提供此功能? How I am able to it? 我该怎么办?

Thanks in advance for your answers. 预先感谢您的回答。

No, install4j does not support this functionality out of the box. 不,install4j不支持此功能。 install4j assumes that the update installer is a full installer, so the latest installer will be sufficient. install4j假定更新安装程序是完整安装程序,因此最新的安装程序就足够了。

What you describe would be patch installers, but that is not an available concept in install4j. 您所描述的将是补丁安装程序,但这不是install4j中可用的概念。

I have a partial solution without batch-updating functionallity. 我有一个部分解决方案,没有批量更新功能。 Each installer (main program and patch) should check a next update, download it and launch after installation process is completed. 每个安装程序(主程序和补丁)应检查下一个更新,下载并在安装过程完成后启动。 You may copy the default updater actions to achive this. 您可以复制默认的更新程序操作以实现此目的。 Therefore, all updates will be downloaded sequentially. 因此,所有更新将按顺序下载。 With unattained mode enabled installation of the lastest version could be completly transperent to the user. 启用未完成模式后,最新版本的安装可能完全对用户透明。 Also you may have separate updater executable with silent version check to launch this process from java code. 另外,您可能还具有单独的带有静默版本检查的更新程序可执行文件,以从Java代码启动此过程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM