Changes

Jump to: navigation, search

Software Update:updates.xml Format

28 bytes added, 22:46, 28 August 2006
Elements & Attributes
If specified, the <code>licenseURL</code> must successfully load "in line" before the user can agree to it. The user must agree to it in order to proceed with the upgrade. (If the <code>licenseURL</code> fails to load, the user will be unable to agree to it, and therefore unable to upgrade.) '''Note:''' if the <code>licenseURL</code> attribute does not change between major releases, the user will end up agreeing to the same license twice. [https://bugzilla.mozilla.org/show_bug.cgi?id=348389#c44 See bug #348389 for details.]
'''New for MOZILLA_1_8_BRANCH:''' If an updates.xml files contains information about both a minor and a major upgrade, the end user will only see the minor updates. For major updates, the user will see an additional "Never" button in order to decline automatic reminders updates (stored in using the hidden app.update.never.&lt;version&gt; prefto persist this decision). The user can manually "Check for Upgrades..." to get a major update that was previously declined.
Within an <code>update</code> element there must be at least one and no more than two <code>patch</code> elements. The <code>patch</code> element describes a patch file that lives on a remote server that must be downloaded and applied to the application to update it to that version. They describe either binary differences between versions of the application (partial patches), or complete updates that replace and remove files as necessary. The attributes for <code>patch</code> are as follows:
234
edits

Navigation menu