Bug 142894 - Installing a second version of LibO removes previous one.
Summary: Installing a second version of LibO removes previous one.
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
7.1.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-16 11:02 UTC by Peter Toye
Modified: 2021-06-16 17:26 UTC (History)
1 user (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 Peter Toye 2021-06-16 11:02:37 UTC
Description:
I used to have two versions of LibO: 7.0 for normal use and 7.1 for a particular feature. They are in different directories.

I have just updated both of them. The 7.0 update (which I did first) went OK. but the update to 7.1 seems to have removed my 7.0 installation. I'm sure that 7.1 will work OK for my needs, but this simply shouldn't happen! 

Steps to Reproduce:
NOTE - the 7.1 version is 7.1.4.2 which isn't in the list above. Should it be?


1.Install 7.0 and 7.1 in separate directories
2.Update 7.1


Actual Results:
The 7.0 installation disappears.

Expected Results:
Both versions to remain.


Reproducible: Didn't try


User Profile Reset: No



Additional Info:
Version: 7.1.4.2 (x64) / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
CPU threads: 12; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded
Comment 1 V Stuart Foote 2021-06-16 16:51:15 UTC
A full install of LibreOffice on Windows will write into the windows registry. You can not have multiple full installations--period!

If you need both, one must be a /A administrative installation done from command line [1], and then modifying the installation's program/bootstrap.ini 'UserInstallation=' stanza. 

Modify the $SYSUSERCONFIG value to point to an alternate location that its default '$SYSUSERCONFIG/LibreOffice/4' which places profile into the Windows $APPDATA library 

so typically "C:\Users\<username>\AppData\Roaming\LibreOffice\4"

You don't want two versions of LibreOffice pointing at one user profile! Modify the SYSUSERCONFIG path to add an additional default profile.

Those of us doing QA will use a 'UserInstallation=$ORIGIN/../Data/settings' to put each LibreOffice nightly user profile into a selfcontained directory (that is deleted when the /A install is purged or pushed to archive).

=-ref-=
[1] If 7.0.5.2 is installed, issue command 'msiexec.exe /a  LibreOffice_7.1.4.2_Win_x64.msi TARGETDIR="C:\my_Program_Files\LO7142"' this will extract the installation into a directory which is fully functional as a "parallel" installation.
Comment 2 Peter Toye 2021-06-16 17:26:24 UTC
Interesting - It was some time ago that I installed both 7.0 and 7.1 and I can't remember exactly how I did it. I assumed it had been a normal install but I must have done something different. My memory's not what it was.