[Geoserver-devel] [jira] (GEOS-4917) Windows installer should support upgrading from previous version

Evan Martin created GEOS-4917:
---------------------------------

             Summary: Windows installer should support upgrading from previous version
                 Key: GEOS-4917
                 URL: https://jira.codehaus.org/browse/GEOS-4917
             Project: GeoServer
          Issue Type: Improvement
          Components: Windows Installer
    Affects Versions: 2.1.2
         Environment: Windows 7 x64
            Reporter: Evan Martin
            Assignee: Andrea Aime

Upgrading from one minor version of GeoServer to another on Windows currently involves these steps:

1) Make a copy of data_dir
2) Run the uninstaller
3) Run the new installer
4) Delete the newly created data_dir
5) Replace data_dir with the backed up version

This is error-prone and unintuitive. Most Windows programs happily perform an in-place upgrade simply by running the installer. I suggest that the GeoServer installer does the same, ie. delete old binaries (but not user data!) before installing the new version.

Currently, it APPEARS to do this, because it installs into the existing installation directory without any errors, but when the user actually tries to run GeoServer they get a confusing and completely unhelpful error (see GEOS-4914).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira