summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-11 02:01:19 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-11 03:57:55 +0200
commit38b3fb2a9354989db1fa8909bae163b282066f69 (patch)
treed053bab9106072ae67d0ea720ed339f74424123c /onlineupdate
parentefa3ef666f1bc25602e5bee1d75ceb7d545dd5aa (diff)
start adding my local documentation to the onlineupdate README
This is still quite confusing as I'm still confused myself with the user profile in the installation directory. Change-Id: I77f56918d51069ec6c6967339e7e03de4f1a7e4a
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/README11
1 files changed, 11 insertions, 0 deletions
diff --git a/onlineupdate/README b/onlineupdate/README
index e609bbbd6dd1..4009a3acb72b 100644
--- a/onlineupdate/README
+++ b/onlineupdate/README
@@ -10,3 +10,14 @@ The source/service directory contains the code for the silent windows updater th
== NOTE ==
The updater executable should not depend on any other dynamic library in the LibreOffice installation as we would need to copy that one also to a temporary directory during update. We can't update any library or executable that is currently in use. For the updater executable we solve this problem by copying the updater before using it to a temporary directory.
+
+== Update procedure ==
+
+The updater executable is run two times. In a first run, the current installation is copied to a "update" directory and the update is applied in this "update" directory. During the next run, a replacement request is executed. The replacement request removes the old installation directoy and replaces it with the content of the "update" directory.
+
+=== User profile in the installation directory ===
+
+The archive based installations have the user profile by default inside of the installation directory. During the update process this causes some problems that need special handling in the updater.
+
+* The "update" directory is inside of the user profile resulting in recursive copying.
+* During the replacement request the updater log is in the user profile, which changes location from the actual location to a backup location.