How to lunch update for different application?

旧街凉风 提交于 2020-01-25 06:54:19

问题


I am configuring the installer for a suite and individual programs of the suite as explained here.

The auto update of the individual programs is easily resolved with the out of the box "updater with silent version check", tied with the launcher integration for the program.

Howerver, I need one additional updater for the suite, as the suite installs common auxiliary files, drivers, etc. The main problem I am having is that the suite doesn't have a launcher, so I can't run a version check tied to a launcher.

I am thinking of doing a version check for the suite's updates.xml from each of the individual programs updaters, adding an additional "Check for update" action. Questions:

1) Will this work if I just change the "Update descriptor url"? Or it will check that the targetMediaFile is is for the individual program launcher?

2) Say I do the check programmatically at the statup of each individual program, and I manage to call a background update checker of the suite, and an update is scheduled. How will the UpdateChecker.isUpdateScheduled know which installer is the one scheduled? I don't see any parameters for the isUpdateScheduled method, nor return other than boolean.

3) Any other suggestions or different approach to update the suites installer?

来源:https://stackoverflow.com/questions/59075863/how-to-lunch-update-for-different-application

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