Bug 124702 - Simplify auto-updated effort, and combine it with bootstrap application which could download and install LibreOffice
Summary: Simplify auto-updated effort, and combine it with bootstrap application which...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Updates
  Show dependency treegraph
 
Reported: 2019-04-12 10:12 UTC by Mike Kaganski
Modified: 2023-06-17 08:16 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2019-04-12 10:12:42 UTC
The idea is specifically about Windows.

Currently, thee's an effort to create an auto-updater, which would finally re-enable the functionality in "Check for Updates" dialog, doing that in efficient way, i.e. downloading and installing some small-sized patches.

While that seems reasonable, the problems implementing that seem too much.

We have another problem, that there's no easy way for user to choose installer UI language different from auto-detected by msiexec (one could play with "Region and Language" -> "Format", or use command line like "msiexec /i LibreOffice_X.Y.Z_Win_x64.msi ProductLanguage=1033", but that all is outside of user's scope).

So my proposal is this: could we simplify the auto-update function to simply checking if a newer applicable .MSI exists, and downloading it and launch? This would of course need to download ~300 MB MSIs instead of some smaller packages. But that would still improve things for wast majority of users who don't care much about that size downloaded; and even improve things for the rest who care (if not in download size, then in ease of update process - at least, that solution would be in no way worse than status quo). The auto-updater could take care of downloading and launching the MSI installer with UI language matching current user UI; which gives us all the code necessary for the small bootstrap application downloadable from the main site, which could do the same: search for latest applicable MSI on TDF site, download it, ask user for installation UI language, and launch MSI with that language. Having that bootstrap downloadable from main site as a download option (also requiring user to only download one small thing, and not bother with other downloads) would not exclude availability of MSI itself for those who need it to e.g. enterprise deployments using GPOs, etc.
Comment 1 V Stuart Foote 2019-04-12 17:28:31 UTC
Doing incremental updates as Markus has prototyped for Linux and Windows builds remains viable approach. This would perpetuate the status quo of monolithic packaging.

But I'm not opposed as it moves the delivery UX forward.

But it begs the question about stability and long term infrastructure support (how do we validate what is propagated out onto download mirrors that is then an automated install).

Some other download security concerns as laid out by Kendy in the see also bug 74934

And does this end efforts for Mozilla incrementals on Windows?
Comment 2 QA Administrators 2021-04-16 03:56:19 UTC Comment hidden (obsolete)
Comment 3 Mike Kaganski 2022-06-03 05:13:13 UTC
Another problem that could be related: bug 45750. I suppose that my idea basically makes it an EXE + MSI, and so we could have MSPs for languages external (the MSI would only contain en-US), and thus make the MSI conforming to the stupid 254-character language string limitation. Of course, that would limit the multilanguage installer experience to use of the EXE.
Comment 4 Eyal Rozenberg 2023-06-17 08:16:55 UTC
(In reply to V Stuart Foote from comment #1)
> But it begs the question about stability and long term infrastructure
> support (how do we validate what is propagated out onto download mirrors
> that is then an automated install).

Why? That is, why does using a bootstrap executable make it different w.r.t validation? You have to validate a bootstrap executable just like you have to validate a full installer.

> Some other download security concerns as laid out by Kendy in the see also
> bug 74934

Can you be more specific?