Search code examples
javaupdatesauto-updateupdatinginstall4j

Install4j - Batch updating


By default, install4j auto-update functionality allows to download updates one-by-one. 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? How I am able to it?

Thanks in advance for your answers.


Solution

  • 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.