Install path for LibreOffice under Windows

classic Classic list List threaded Threaded
7 messages Options
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Install path for LibreOffice under Windows

Hi all

I just updated my LibreOffice 3.6.5.2 install to 4.0.1.2 under Windows for the second time.
The first time I used the suggested install path (%ProgramFiles%\LibreOffice 3.6\ and %ProgramFiles%\LibreOffice 4.0\)

I noticed that all the extensions installed as shared (i.e. for All Users) were "left behind" in the %ProgramFiles%\LibreOffice 3.6 folder. So I had to manually delete the folder (because there is no way to uninstall the leftovers otherwise) and had to reinstall again under LO 4.0

Because I was testing for items not imported in the user Profile (https://bugs.freedesktop.org/show_bug.cgi?id=57061) I decided to give it another go and start from zero.

So I installed LO 3.6.5.2 in folder %ProgramFiles%\LibreOffice\ added all the extensions, changed all settings to my preferences and then updated to 4.0

In addition to finding that profile migration (albeit not perfect) is much better now, all my extensions were correctly working.

So my question is: is there any reason that LibreOffice under Windows does not install to \LibreOffice\?

Under Windows a single version is associated with the registry keys and with the odf files, so the installer removes the previous version before installing a new one. I can see no advantage in installing to a version named folder under Windows...

If there is no particular reason, then the future LibreOffice 4.0.2 (a month from now) could be a changing point and install to \LibreOffice\ and be the last version where these problems occur...

Then when Version 4.1 is out (somewhere in July) this problem would already be solved (hopefully forever :) ).

Just another 2 cents ;)
Pedro
V Stuart Foote V Stuart Foote
Reply | Threaded
Open this post in threaded view
|

Re: Install path for LibreOffice under Windows

 
Pedro wrote
So my question is: is there any reason that LibreOffice under Windows does not install to \LibreOffice\?
There are a few issues that make it problematic.  Paramount is that the .MSI packaging for Microsoft Installer is kind of fragile, and Andras Timar is just one deep as primary maintainer of the multilanguage packaging.  We'd need to hear from Andras and some of the other Windows integrators about just how much work is needed--and what it could potentially break.  And also their assessment of the impact it would have on addressing other higher priority issues with Windows builds, e.g. file associations, 64-bit installer logic, integration with Windows 8 shell, etc.

Also, the .MSI packaging does correctly handle the bundled extensions--installation, upgrade and removal. Only 3rd party UNO API extensions are an issue where the majority of the cross platform extensions are written for use both on  AOO and LibreOffice and on Windows are structured to install against the versioned installations.  No indications AOO is moving to adopt non-versioned program installation folder for Windows, which would likely complicate maintenance and potentially the availability of specific extensions for LibreOffice.

One unintentional advantage of retaining a versioned installation under Windows is the ability to cleanly install the base program and bundled extensions into its own directory with no impact from non-managed extensions.

None the less, it is a reasonable enhancement, submit an enhancement bug--should get additional perspective that way.

Stuart
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Re: Install path for LibreOffice under Windows

Hi Stuart

Thank you for your answer!

V Stuart Foote wrote
There are a few issues that make it problematic.  Paramount is that the .MSI packaging for Microsoft Installer is kind of fragile, and Andras Timar is just one deep as primary maintainer of the multilanguage packaging.  We'd need to hear from Andras and some of the other Windows integrators about just how much work is needed--and what it could potentially break.  And also their assessment of the impact it would have on addressing other higher priority issues with Windows builds, e.g. file associations, 64-bit installer logic, integration with Windows 8 shell, etc.
That is exactly what I would like to hear. I believe that it would make file associations easier (because the path would not change with each new .1 version)

V Stuart Foote wrote
One unintentional advantage of retaining a versioned installation under Windows is the ability to cleanly install the base program and bundled extensions into its own directory with no impact from non-managed extensions.
That is a two edged sword :) On one hand it does start from a clean slate. On the other hand the user/admin will have to remember and reinstall all the extensions set for all users. And that can be a serious productivity stopper...

I believe that in the future LO must have a compatibility checker like Mozilla

Another disadvantage is that for each .1 update there will be a remaining \LO x.x\shared folder left behind. That means that someone who has been updating since version 3.3 and is now using 4.0 should now have four leftover folders.
This has two down sides: The wasted disk space (depending on the number of extensions used) and the "sloppy" image (I know other Windows uninstallers fail to remove all traces, but those are the BAD uninstallers and LO doesn't want to compare to those ;) )

V Stuart Foote wrote
None the less, it is a reasonable enhancement, submit an enhancement bug--should get additional perspective that way.
Will do. But I would like to have some more feedback on this topic. Maybe even from Andras, since you mention he is the expert.

Pedro
Andras Timar Andras Timar
Reply | Threaded
Open this post in threaded view
|

Re: Install path for LibreOffice under Windows

In reply to this post by Pedro
On Mon, Mar 4, 2013 at 4:45 PM, Pedro <[hidden email]> wrote:
>
> So my question is: is there any reason that LibreOffice under Windows does
> not install to \LibreOffice\?
>
Not really. AFAIK it is just a legacy setting. Default install
location can be changed either from installer UI, or by the
INSTALLLOCATION property from the msiexec's command line. All
settings, registry keys etc. will accommodate automatically.

Migration of extensions is a different issue, I'm not an expert of that.

Best regards,
Andras

--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Re: Install path for LibreOffice under Windows

Hi Andras

Andras Timar wrote
On Mon, Mar 4, 2013 at 4:45 PM, Pedro <[hidden email]> wrote:
>
> So my question is: is there any reason that LibreOffice under Windows does
> not install to \LibreOffice\?
>
Not really. AFAIK it is just a legacy setting. Default install
location can be changed either from installer UI, or by the
INSTALLLOCATION property from the msiexec's command line. All
settings, registry keys etc. will accommodate automatically.

Migration of extensions is a different issue, I'm not an expert of that.
So in theory it would not be a problem changing this (for the Windows OS only) to default to an un-numbered folder.

If  \LibreOffice\ is the default folder, there is no need for extension migration at all. They are already where the program expects them, just like the User extensions.

Enhancement request added to Bugzilla
https://bugs.freedesktop.org/show_bug.cgi?id=62303

Best regards,
Pedro
V Stuart Foote V Stuart Foote
Reply | Threaded
Open this post in threaded view
|

Re: Install path for LibreOffice under Windows

The enhancement was discussed at ESC mtg  today ( http://nabble.documentfoundation.org/minutes-of-ESC-call-td4043820.html )

Install directory to be adjusted to "LibreOffce 4",  rather than dropping numbered versioning completely as proposed.

Also won't adopt for 4.0.3, so soonest implementation will be at 4.1.0 RC1

Stuart
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Re: Install path for LibreOffice under Windows

Hi Stuart

V Stuart Foote wrote
Install directory to be adjusted to "LibreOffice 4",  rather than dropping numbered versioning completely as proposed.

Also won't adopt for 4.0.3, so soonest implementation will be at 4.1.0 RC1
Thank you for the update.

I don't see any logic in this half-way solution. Instead of fixing this permanently (by simply removing the number), the ESC postponed this into 2015 (or whenever version 5.0 is released)

Why insist on the Linux model under Windows? Mozilla Firefox changes major version about every month. Do they have a version named folder?

Answering Andras question "are there really migration problems?" If the question is: are there study cases where this has been demonstrated to be an obstacle? Then the answer is "No. But unfortunately, there aren't that many study case reports"

Yet, there are problems: you need to reinstall All User extensions for every version change. If keeping extensions is acceptable for User extensions (which potentially are installed by less knowledgeable users than the system admin) why not use the same logic for extensions that affect all users in a machine?

Please consider these facts.

Pedro