Update-Installer
Small cross-platform software update installer.
About
This tool is a component of a cross-platform auto-update system. It is responsible for performing the installation of an update after the necessary files have been downloaded to a temporary directory.
It was originally written for use with Mendeley Desktop (see www.mendeley.com)
The tool consists of a single small binary which performs update installation, an XML file format describing the contents of an update (an 'update script') and a tool to create update scripts from a directory containing an installed application.
To perform an update, the application (or another separate tool) needs to download the updater binary, an update script and one or more compressed packages containing the files for the update to a temporary directory. It then needs to invoke the updater, specifying the location where the application is installed, the location of the compressed packages and the path to the update script.
Once the updater has been started, it:
- Waits for the application to exit
- Acquires the necessary priviledges to install the updates, prompting the user if necessary.
- Installs the updates, displaying progress to the user in a small dialog
- Performs cleanup and any additional actions required as part of the update
- Starts the new version of the main application.
In the event of a failure during the update, the installation is rolled back to its previous state and a message is presented to the user.
Local Download
- Update-Installer master ab40828
-
Update-Installer-master-ab40828.zip