问题
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