.. index:: Application Update

.. _Application_Update:

Application Update
==================

Each time the Hugin Graphical User Interface is launched it will check the http://www.hugin.com web-site for new updates. If a new update is available, the user is given the option to download and install the update. 

The updating procedure consists of the following few steps: 
* Download a new jar-file to temporary directory 
* *And when Hugin is closed:* 
* Rename existing *hgui.jar* to *hgui.old* 
* The new jar-file is moved to the location of the "old" *hgui.jar* 

If any of the above steps fail, the update will not be correctly installed. If the update is not correctly installed, the user will be prompted to install the latest build each time the application is launched. 

Experience has shown that the installation of an update may fail for many reasons such as insufficient privileges of the user to save and rename files, security issues (e.g. related to firewalls, etc), etc. 

When the installation fails, the update may be installed manually by downloading an updated jar-file from http://www.hugin.com and replacing the existing *hgui.jar* file in the installation directory. 

The check for updates functionality may be disabled under the *Preferences* menu by deselecting *Check for updates*. 
