How to create installer for suite with install4j?

爱⌒轻易说出口 提交于 2020-02-25 06:30:09

问题


We have a "suite" of two programs, much like Office has Word and Excel. We determine if the user needs program A or B o both based on some questions. We would like to have a common installer to ask this questions, and install common files, then download and install the individual programs accordingly.

Both programs have different update cycles, so we would like to check for updates per program and ideally also updates to the installer itself (for changes in the common files).

Which would be the best approach for this?

I have tried the individual programs to be downloadable components but this approach doesn't handle new version of just one program.


回答1:


As of 8.x, there is no special "suite of installers" feature in install4j. I would recommend to create a separate project for the suite and add the single installers to the distribution tree in separate downloadable installation component. Instead of the "Install files" action, add "Run executable" actions for each product that was selected by the user.

If you would like unattended installations for each product, you can pass the arguments

-q -splash "Installing product X"

to get a progress bar for each installer.



来源:https://stackoverflow.com/questions/58699610/how-to-create-installer-for-suite-with-install4j

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!