https://bugs.documentfoundation.org/show_bug.cgi?id=169322

            Bug ID: 169322
           Summary: In a mixed setup LibreOffice/Microsoft Office,
                    uninstalling LO breaks MSO
           Product: LibreOffice
           Version: 7.6.4.1 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Installation
          Assignee: [email protected]
          Reporter: [email protected]

In a corporate mixed environment, where some computers (Win10 or 11, 64bit)
have installed both LibreOffice and Microsoft Office (2016 Standard), the
uninstallation of LibreOffice cause Microsoft Office to malfunction.

I unininstall LO via commandline, eg:
 msiexec /q /x {F7D02B89-5E27-40BC-A91F-F67C1A2B9600}

After successful uninstallation, for UNPRIVILEGED users, at the first MSOffice
application run the initial mini setup installation run and fail with these
errors:

Nome registro: Application
Origine:       MsiInstaller
Data:          07/11/2025 09:14:28
ID evento:     1004
Categoria attività:Nessuna
Livello:       Avviso
Parole chiave: Classico
Utente:        S-1-5-21-160080369-3601385002-3131615632-2186
Computer:      kakuzu.ad.fvg.lnf.it
Descrizione:
Errore durante il rilevamento del prodotto
"{90160000-0012-0000-1000-0000000FF1CE}", caratteristica "WORDFiles",
componente "{369C7AC0-2B82-47AD-8DF5-81880B8FD045}". La risorsa
"HKEY_LOCAL_MACHINE(64)\SOFTWARE\Classes\.odt\PersistentHandler\" non esiste.
XML evento:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
  <System>
    <Provider Name="MsiInstaller" />
    <EventID Qualifiers="0">1004</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2025-11-07T08:14:28.8420215Z" />
    <EventRecordID>158542</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>kakuzu.ad.fvg.lnf.it</Computer>
    <Security UserID="S-1-5-21-160080369-3601385002-3131615632-2186" />
  </System>
  <EventData>
    <Data>{90160000-0012-0000-1000-0000000FF1CE}</Data>
    <Data>WORDFiles</Data>
    <Data>{369C7AC0-2B82-47AD-8DF5-81880B8FD045}</Data>
   
<Data>HKEY_LOCAL_MACHINE(64)\SOFTWARE\Classes\.odt\PersistentHandler\</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>
    </Data>
  </EventData>
</Event>

Nome registro: Application
Origine:       MsiInstaller
Data:          07/11/2025 09:14:28
ID evento:     1001
Categoria attività:Nessuna
Livello:       Avviso
Parole chiave: Classico
Utente:        S-1-5-21-160080369-3601385002-3131615632-2186
Computer:      kakuzu.ad.fvg.lnf.it
Descrizione:
Errore durante il rilevamento della caratteristica "WORDFiles" di
"{90160000-0012-0000-1000-0000000FF1CE}". L'errore si è verificato durante una
richiesta per il componente "{DC5CCACD-A7AC-4FD3-9F70-9454B5DE5161}".
XML evento:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
  <System>
    <Provider Name="MsiInstaller" />
    <EventID Qualifiers="0">1001</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2025-11-07T08:14:28.8420215Z" />
    <EventRecordID>158543</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>kakuzu.ad.fvg.lnf.it</Computer>
    <Security UserID="S-1-5-21-160080369-3601385002-3131615632-2186" />
  </System>
  <EventData>
    <Data>{90160000-0012-0000-1000-0000000FF1CE}</Data>
    <Data>WORDFiles</Data>
    <Data>{DC5CCACD-A7AC-4FD3-9F70-9454B5DE5161}</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>
    </Data>
  </EventData>
</Event>

AFAI've understood, LO uninstaller remove some registry keys in HKLM, that
MSOffice application need, but is not able to fix (because of an unprivileged
user).

Solution: run MSOffice application from a PRIVILEGED user, registry keys get
fixed, all works as expected.

For a sake of completeness, i install LO with:
 LibreOffice_7.6.4_Win_x86.msi ALLUSERS=1 REBOOT=ReallySuppress
CREATEDESKTOPLINK=0 ISCHECKFORPRODUCTUPDATE=0 REGISTER_NO_MSO_TYPES=1
ADDLOCAL=ALL REMOVE=gm_o_Onlineupdate

Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to