Details
-
Type: New Feature
-
Status: Closed
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.11.1.0
-
Fix Version/s: 2.11.4.0
-
Component/s: getdown, install4j, Properties and Preferences
-
Labels:None
-
Environment:Circumstances this would be needed:
linux when installed in /opt system space,
macOS /Applications installed by other user/sysadmin,
plausibly Windows system installation in C:\Program Files\
Description
When Jalview is installed in system-space for system-wide use by (likely) multiple users, the installation appdir will not be writable by the user, and so Over-The-Air automatic updates (by getdown) will not be possible and will fail to happen.
Comment https://issues.jalview.org/browse/JAL-3620?focusedCommentId=23589&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-23589
describes having a parallel appdir in user space (e.g.
~/.jalview/updates/ or equivalent) where updated files can be downloaded if the installation appdir is not writable.
Install4j and getdown will need to know to look in this alternative location for possibly more up-to-date jars (install4j will only need to look for an updated getdown-launcher.jar). There should be a jar version check (which means jar versions will need to be added to the jar manifest) as presence of a jar in the user-space location does not guarantee it is newer (e.g. there might be an updated jar from a previous system installation version than the current system installation).
Install4j allows code execution in the installer (although such code addition hasn't been used by jalview yet) so this should be possible (to alter the classpath accordingly before running getdown-launcher.jar).
The option to use this user-space updates feature or to just use the system installed version could be set in ~/.jalview_properties.
Attachments
Issue Links
- blocks
-
JAL-4379 No all users installer
- Open
-
JAL-4408 Mac version of Jalview does not launch in a lab-deployment environment
- Closed
-
JAL-3620 autoupdater-blocked when jalview is run as user
- Closed
-
JAL-4104 Application ownership
- Closed
- is duplicated by
-
JAL-3970 Jalview appears with name "java" in the macOS Dock
- Ready for testing
- related with
-
JAL-4379 No all users installer
- Open
-
JAL-4408 Mac version of Jalview does not launch in a lab-deployment environment
- Closed
-
JAL-3620 autoupdater-blocked when jalview is run as user
- Closed
-
JAL-4498 User-space hashed folder name should be different for a new installation in the same place
- Open
-
JAL-4444 Windows jalview_x copies of command line BAT and PS1 launcher and update scripts are not updated through getdown
- Closed
-
JAL-3845 Add error message when launched directly from Jalview Installer DMG volume
- Ready for testing
-
JAL-4057 Update installer and instructions to support installation in multi-user context
- Ready for testing