Bug 130771 - Uninstalling LibreOffice corrupts Windows Office 2016 installation
Summary: Uninstalling LibreOffice corrupts Windows Office 2016 installation
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Installer-Windows
  Show dependency treegraph
 
Reported: 2020-02-19 09:39 UTC by Shimon Shore
Modified: 2021-09-09 03:42 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Dialog that appears when trying to open a Microsoft Office Document (13.28 KB, image/jpeg)
2020-02-19 09:41 UTC, Shimon Shore
Details
Verbose log from LibreOffice Uninstall (20.25 MB, text/plain)
2020-02-20 15:43 UTC, Shimon Shore
Details
Details of the "Preparing to install" error on launch of Office 2016 (1 of 3) (67.83 KB, image/png)
2020-02-20 15:44 UTC, Shimon Shore
Details
Details of the "Preparing to install" error on launch of Office 2016 (2 of 3) (199.86 KB, image/png)
2020-02-20 15:45 UTC, Shimon Shore
Details
Details of the "Preparing to install" error on launch of Office 2016 (3 of 3) (64.78 KB, image/png)
2020-02-20 15:45 UTC, Shimon Shore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shimon Shore 2020-02-19 09:39:39 UTC
Description:
We installed LibreOffice 6.4 on three different computers that had Microsoft Office 2016 also installed. When we uninstalled LibreOffice 6.4 the windows Office 2016 installation was corrupted and no longer worked.

We had one machine with Windows Office 2019 and there was no such problem.

Steps to Reproduce:
1. Start with Windows Machine with Office 2016 installed
2. Install LibreOffice
3. Uninstall LibreOffice
4. Try to open an Excel/Word file or the application -> fails

Actual Results:
Cannot open Office document or application

Expected Results:
Should be able to open the document or application


Reproducible: Always


User Profile Reset: No



Additional Info:
Not messed up Microsoft Office 2016
Comment 1 Shimon Shore 2020-02-19 09:41:21 UTC
Created attachment 158000 [details]
Dialog that appears when trying to open a Microsoft Office Document
Comment 2 V Stuart Foote 2020-02-19 14:29:18 UTC
Thanks for filing, if you still have more boxes to test against could you run the LibreOffice uninstall from a command line (or PS) and capture a verbose log. Done using the GUID/CLSID for LibreOffice package:

msiexec.exe /x {5DE38E8F-2A6F-44E7-9D24-0C6D056597D6} /L*v lo640uninstLog.txt

helppack should be removed first, same syntax. Should be GUID/CLSID {19572391-C01B-469D-9697-92978998771C}

You can verify the CLSID to use with regedit search of  Windows registry starting at the stanza, and searching for LibreOffice:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

When the uninstall completes, try your launch of Office 2016. If it fails with the same error go ahead and zip up the verbose log and post here as an attachment.

Also would help if you have a look in the Windows logs by running eventvwr.msc for more details of the "Preparing to install" error on launch of Office 2016.
Comment 3 Mike Kaganski 2020-02-19 14:50:44 UTC
FTR: https://ask.libreoffice.org/en/question/229523/ tells about the opposite. Both are absolutely strange.
Comment 4 Shimon Shore 2020-02-20 15:43:45 UTC
Created attachment 158048 [details]
Verbose log from LibreOffice Uninstall
Comment 5 Shimon Shore 2020-02-20 15:44:55 UTC
Created attachment 158049 [details]
Details of the "Preparing to install" error on launch of Office 2016 (1 of 3)
Comment 6 Shimon Shore 2020-02-20 15:45:26 UTC
Created attachment 158050 [details]
Details of the "Preparing to install" error on launch of Office 2016 (2 of 3)
Comment 7 Shimon Shore 2020-02-20 15:45:57 UTC
Created attachment 158051 [details]
Details of the "Preparing to install" error on launch of Office 2016 (3 of 3)
Comment 8 Shimon Shore 2020-02-20 15:47:38 UTC
We tried it again on another computer and saw the same thing.

I have attached the verbose log from the uninstall and screenshots showing the details of the "Preparing to install" error on launch of Office 2016 (3 different screenshots).
Comment 9 Timur 2020-02-21 13:03:34 UTC
Sounds more like MS feature/bug, please search for "outlookfiles" and listed component.
Comment 10 Shimon Shore 2020-02-23 08:29:27 UTC
Sorry, I don't understand.

What is the MS bug? Where do you suggest that we search for "outlookfiles"?
Comment 11 Shimon Shore 2020-02-23 10:42:02 UTC
BTW, we have found the same problem with LibreOffice 6.3.4
Comment 12 Buovjaga 2020-05-10 14:28:21 UTC
(In reply to Shimon Shore from comment #10)
> Sorry, I don't understand.
> 
> What is the MS bug? Where do you suggest that we search for "outlookfiles"?

in 2.jpg the message says "feature 'OUTLOOKFiles'...". I guess search the web, hard drive and registry.
Comment 13 Xisco Faulí 2020-06-17 14:31:26 UTC
(In reply to Buovjaga from comment #12)
> (In reply to Shimon Shore from comment #10)
> > Sorry, I don't understand.
> > 
> > What is the MS bug? Where do you suggest that we search for "outlookfiles"?
> 
> in 2.jpg the message says "feature 'OUTLOOKFiles'...". I guess search the
> web, hard drive and registry.

@Shimon Shore, any update on this ?
Comment 14 V Stuart Foote 2020-06-17 15:33:02 UTC
Sorry for the delay getting back to this...

@Mike K, looking at attachment 158050 [details] MS Office Outlook is looking for the PersistentHandler for ".odt"

The verbose uninstall log, cliped below, shows we do clobber the file type.

Are we too aggressive?  Or is MS's launcher at fault... as with see also bug 130320 MS Office's PersistentHandler "defaults" have caused issues.

=-clip from attached verbose log-=

MSI (s) (F4:08) [11:14:39:569]: Executing op: RegOpenKey(,Key=.odt,,BinaryType=1,,)
MSI (s) (F4:08) [11:14:39:569]: Executing op: RegRemoveValue(Name=Content Type,Value=application/vnd.oasis.opendocument.text,)
MSI (s) (F4:08) [11:14:39:571]: Executing op: RegRemoveValue(,Value=LibreOffice.WriterDocument.1,)
MSI (s) (F4:08) [11:14:39:571]: Executing op: RegOpenKey(,Key=MIME\Database\Content Type\application/vnd.oasis.opendocument.text,,BinaryType=1,,)
MSI (s) (F4:08) [11:14:39:572]: Executing op: RegRemoveValue(Name=Extension,Value=.odt,)
MSI (s) (F4:08) [11:14:39:573]: Executing op: RegOpenKey(,Key=.odt\LibreOffice.WriterDocument.1\ShellNew,,BinaryType=1,,)
MSI (s) (F4:08) [11:14:39:573]: Executing op: RegRemoveValue(Name=FileName,Value=[INSTALLLOCATION]share\template\shellnew\soffice.odt,)
MSI (s) (F4:08) [11:14:39:575]: Executing op: RegOpenKey(,Key=.odt\PersistentHandler,,BinaryType=1,,)
MSI (s) (F4:08) [11:14:39:575]: Executing op: RegRemoveValue(,Value={7BC0E713-5703-45BE-A29D-5D46D8B39262},)
MSI (s) (F4:08) [11:14:39:576]: Executing op: RegOpenKey(,Key=.odt\shellex\{00021500-0000-0000-C000-000000000046},,BinaryType=1,,)
Comment 15 Mike Kaganski 2020-06-17 15:43:04 UTC
(In reply to V Stuart Foote from comment #14)

I suppose that MSI simply does its job: it removes the keys it wrote when installed. If the correct behaviour of one MS product (Windows Installer) breaks another MS product (launcher), then it's totally MS launcher's fault; especially since it likely breaks at the LibreOffice's native file type.

All that said based on the Stuart's comment. I didn't check if the problem is actually that.
Comment 16 V Stuart Foote 2020-06-17 16:31:22 UTC
@Shimon,

Can you describe the install sequence for the systems affected? 

For the image/scratch install involved, on initial setup was MS Office installed before or after LibreOffice?  Not the updates if any, but the initial setup.
Comment 17 Shimon Shore 2020-06-17 18:23:42 UTC
(In reply to V Stuart Foote from comment #16)
> @Shimon,
> 
> Can you describe the install sequence for the systems affected? 
> 
> For the image/scratch install involved, on initial setup was MS Office
> installed before or after LibreOffice?  Not the updates if any, but the
> initial setup.

The computers we used had MS Office installed much before LibreOffice. LibreOffice was installed later just for a short time and then uninstalled.
Comment 18 Xisco Faulí 2021-02-09 15:17:07 UTC
Hello Shimon Shore,
A new major release of LibreOffice is available since this bug was reported.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 19 QA Administrators 2021-08-09 03:42:05 UTC Comment hidden (obsolete)
Comment 20 QA Administrators 2021-09-09 03:42:27 UTC
Dear Shimon Shore,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp