Autoupdate extensions

Hello!
I have my own third-party program installer and I need the plugin to be installed or updated during the program installation process.
For example when i install plugins for MS Office, I write all necessary data in windows registry and MS Office see info in registry and install plugins automatically.
How this behavior should be in case of LibreOffice?

P.S. crosspost Apache OpenOffice Community Forum - autoupdate extensions - (View topic)

LibreOffice on Windows has no auto-update itself. So I don’t think it can auto-update your extension.
.
It is possible to modify the Installation for something like corporate installs, but this will only work, if YOU provide the installer. Nobody prevents users from downloading directly from LibreOffice.org
.
For Linux you could simply have LibreOffice as an dependency of your .deb/rpm-package and the OS may keep everything current. But as we now have also snap/flatpack/appimage things may be a bit more complicated.

Updates are sent to users over the local network, so the plugin and his new versions will be located on the server, from where it will be copied to users’ computers

Cross posted to Apache OpenOffice forum.

If you cross post, as a courtesy please let us know that you have done so, otherwise it leads to several discussions and a waste of time because several identical answers may be posted by different users.

Note that your installer (which obviously runs locally, since you mention modifying Windows Registry) can itself install the LibreOffice extension using a call to unopkg. It would be a shared installation (because it’s likely, that in your central deployment situation, the account running the installation would be different from the user’s account). That allows you to update directly, instead of expecting LibreOffice to detect something and do the update. To find the unopkg location, your installer can read HKEY_LOCAL_MACHINE\SOFTWARE\LibreOffice\UNO\InstallPath.

Of course, your extension can also include some information about the update source - but that would only inform users, not do the automatic update.

Related reading:

1 Like