Bug 62303

Summary: Enhancement request: Set default install folder under Windows to \LibreOffice\
Product: LibreOffice Reporter: Pedro <pedlino>
Component: InstallationAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: high CC: fridrich.strba, LibreOffice, pasqual.milvaques, pmladek, sbergman, thumperward, timar74, vstuart.foote
Version: unspecified   
Hardware: Other   
OS: Windows (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=57061
Whiteboard: target: 4.1.0 target:4.1.0
i915 platform: i915 features:

Description Pedro 2013-03-13 17:33:44 UTC
Since under Windows installing a new version requires that the previous version is uninstalled, it would follow Windows applications common usage that the new version is installed to the same folder (e.g. \LibreOffice\) instead of version named folders.

In addition this would have the advantage of keeping All Users extensions functional after an update from a .x and even x. level version. Currently updates keep Current User extensions only.

Targetting version 4.0.3 (one month from now) would allow to test with RC builds before the switch to 4.1.0 (which would make updating to 4.2, 4.3, 4.x and 5.x a non-issue)
Comment 1 V Stuart Foote 2013-03-14 02:05:23 UTC
Pedro, I think this IS an excellent idea if there are no installer packaging issues. Lets poke the dev and users lists to see if anyone has substantive objections.

Should note though that as it is now, until 4.0.3 RC1 is finalized, the TinderBox daily builds default to install to \LOdev4.0\ and also must have an installer command line value of WRITE_REGISTRY=1 to fully integrate into the Windows Registry.

Andras, assuming no substantive push back is there a good point we can start testing a non-versioned Windows installation directory ahead of RC1? Don't expect we'd have issues with the installer, but we'd need to look at what happens to the non-bundled extensions and behavior of LibreOffice registry during migration.
Comment 2 V Stuart Foote 2013-03-14 03:19:45 UTC
Setting high importance for this enhancement given target goal of a 4.0.3 build.
Comment 3 Andras Timar 2013-03-14 07:01:53 UTC
You can test it right now, just choose custom install, and install LibreOffice into c:\Program Files\LibreOffice\.
Comment 4 Petr Mladek 2013-03-14 16:38:24 UTC
So, there are two versioned paths:

   + user configuration uses major version, e.g "LibreOffice/4"
   + default system installation directory use major+minor version, .e.g "LibreOffice 4.0"

Proposed changes:

   + user configuration path:
          + leave it as is for all 4.x releases
          + later decide to switch to non-versioned patch with 5.0 release

    + system installation path:
          + leave it as is for 4.0.X bugfix releases
          + use only major version for 4.X minor releases => "LibreOffice 4";
             it will be in sync with the user configuration path
          + later decide to use non-versioned path with 5.0 release
 
In each case, I would do this change only on Windows and keep Linux as is. The versioned paths allows to easily install more versions in parallel there. It is not possible on Windows even with the versioned paths because of conflicting registry entries. Note that most Linux users use distro-specific builds that usually use non-versioned installation path. The upstream Linux packages are used there for testing or as a fallback.

Is anyone against this solution, please?
Comment 5 V Stuart Foote 2013-03-14 18:07:36 UTC
per ESC mtg ( http://nabble.documentfoundation.org/minutes-of-ESC-call-td4043820.html ) install directory to be adjusted to "LibreOffce 4" rather than dropping 4.x numbered versioning completely.

also won't adopt for 4.0.3

adjusting target to 4.1/Master
Comment 6 Commit Notification 2013-04-11 12:23:19 UTC
tinderbox committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=ca7cbe24cc497384d9b4f7d19d1fff3c84e3ea19

use only major version for the system installation path on Windows (fdo#62303)



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 7 Petr Mladek 2013-04-12 08:51:53 UTC
So, I have done the first step that was approved by ESC. It means to install LO 4.1and further 4.X releases into "LibreOffice 4" system directory. It should solve at least updates between 4.X minor versions.

The question whether to use non-versioned directories for 5.0 is still opened.
Comment 8 Pedro 2013-04-12 10:17:36 UTC
(In reply to comment #7)
> So, I have done the first step that was approved by ESC. It means to install
> LO 4.1and further 4.X releases into "LibreOffice 4" system directory. It
> should solve at least updates between 4.X minor versions.
> 
> The question whether to use non-versioned directories for 5.0 is still
> opened.

I think it's one good step forward. 5.0 will be out some 3 to 4 years from now. Hopefully by then a Mozilla style extension checker will have been added ;)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.