Bug 101200 - Two objects are not deleted after the uninstallation
Summary: Two objects are not deleted after the uninstallation
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.1.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: lowest trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Installer-Windows
  Show dependency treegraph
 
Reported: 2016-07-29 16:57 UTC by 21Naown
Modified: 2025-01-12 11:03 UTC (History)
5 users (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 21Naown 2016-07-29 16:57:39 UTC
LibreOffice 5.1.4 x64, Windows
(Tested on Windows Seven)
After the uninstallation, these objects are remaining:

C:\Windows\Microsoft.NET\assembly\GAC_64\cli_cppuhelper
HKLM\SOFTWARE\Microsoft\Fusion\GACChangeNotification\Default\cli_cppuhelper,1.0.22.0,,ce2cb7e279207b9e,AMD64
Comment 1 Xisco Faulí 2017-03-08 11:50:53 UTC
Dear Reporter,
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 2 21Naown 2017-03-08 13:20:24 UTC
(In reply to Xisco Faulí from comment #1)
> Dear Reporter,
> 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.

Hello,

These problems are still present with "LibreOffice_5.3.0_Win_x64.exe".
Comment 3 Buovjaga 2017-03-27 09:15:54 UTC
For me it was GAC_32 even though I had a 64-bit installation. The folder was modified on the same date I installed 64-bit version 5.3.
This is on Win10.

Let's set to NEW.
Comment 4 QA Administrators 2018-03-28 02:32:46 UTC Comment hidden (obsolete)
Comment 5 21Naown 2018-03-28 14:47:25 UTC
Version: 5.4.6.2 (x64)
Build ID: 4014ce260a04f1026ba855d3b8d91541c224eab8
Threads CPU : 4; OS : Windows 6.1; UI Render : par défaut; 
Locale : fr-FR (fr_FR); Calc: group
Comment 6 QA Administrators 2019-03-29 04:02:26 UTC Comment hidden (obsolete)
Comment 7 21Naown 2019-09-02 23:20:23 UTC
Version: 6.2.6.2 (x64)
Build ID: 684e730861356e74889dfe6dbddd3562aae2e6ad
Threads CPU : 4; OS : Windows 6.1; UI Render : par défaut; VCL: win; 
Locale : fr-FR (fr_FR); Langue IHM : fr-FR
Calc: threaded
Comment 8 Kalle Niemitalo 2021-09-18 02:26:29 UTC
In LibreOffice_7.2.0_Win_x64.msi, cli_cppuhelper.dll has been built for amd64, but the MsiAssemblyName table incorrectly claims processorArchitecture=x86.  I suspect that the Side-by-Side Assembly API ("Fusion") of Windows installs cli_cppuhelper.dll to GAC_64 because of the content of the file, but when Windows Installer later uninstalls the product, it passes processorArchitecture=x86 to Fusion, which then doesn't find the assembly to uninstall.  This may get fixed as part of Bug#144405.
Comment 9 QA Administrators 2023-09-19 03:05:46 UTC Comment hidden (obsolete)
Comment 10 Mike Kaganski 2025-01-11 06:17:14 UTC
Is this reproducible with the current version, after tdf#148857 is fixed?
Comment 11 Kalle Niemitalo 2025-01-12 10:45:16 UTC
I tested https://dev-builds.libreoffice.org/daily/master/Win-x86_64@tb77-TDF/2025-01-12_02.27.50/LibreOfficeDev_25.8.0.0.alpha0_Win_x86-64.msi as follows.  The test result is that the bug is in this version, too.

1. Started a new Windows Sandbox.

2. Installed Windows SDK 10.0.26100.1742 from https://go.microsoft.com/fwlink/?linkid=2286561
On the "Select the features you want to install" page, selected only ".NET Framework 4.8.1 Software Development Kit" (for gacutil) and "MSI Tools" (for ORCA).

3. Verified that the LibreOffice assemblies were not in the GAC yet.
CD "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8.1 Tools\x64"
.\gacutil /lr cli_cppuhelper
.\gacutil /lr policy.1.0.cli_cppuhelper

4. Downloaded https://dev-builds.libreoffice.org/daily/master/Win-x86_64@tb77-TDF/2025-01-12_02.27.50/LibreOfficeDev_25.8.0.0.alpha0_Win_x86-64.msi

5. Installed as per https://bugs.documentfoundation.org/show_bug.cgi?id=94265#c22
msiexec /i LibreOfficeDev_25.8.0.0.alpha0_Win_x86-64.msi WRITE_REGISTRY=1
Custom installation.  No optional components.  Only English (United Kingdom) user interface language.  No Microsoft file type associations.  No shortcut on desktop.

6. Checked whether the LibreOffice assemblies were now in the GAC.
CD "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8.1 Tools\x64"
.\gacutil /lr cli_cppuhelper
.\gacutil /lr policy.1.0.cli_cppuhelper
Yes, they were.  "cli_cppuhelper, Version=1.0.23.0, Culture=neutral, PublicKeyToken=ce2cb7e279207b9e, processorArchitecture=AMD64" was not referenced by anything, and "policy.1.0.cli_cppuhelper, Version=23.0.0.0, Culture=neutral, PublicKeyToken=ce2cb7e279207b9e, processorArchitecture=x86" was referenced by Windows Installer.

7. Uninstalled LibreOffice.
msiexec /x LibreOfficeDev_25.8.0.0.alpha0_Win_x86-64.msi WRITE_REGISTRY=1
I'm not sure whether WRITE_REGISTRY=1 is needed here too.

8. Checked whether the LibreOffice assemblies were still in the GAC.
CD "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8.1 Tools\x64"
.\gacutil /lr cli_cppuhelper
.\gacutil /lr policy.1.0.cli_cppuhelper
The "cli_cppuhelper, Version=1.0.23.0, Culture=neutral, PublicKeyToken=ce2cb7e279207b9e, processorArchitecture=AMD64" assembly was still in the GAC, and it still wasn't referenced by anything.  The "policy.1.0.cli_cppuhelper, Version=23.0.0.0, Culture=neutral, PublicKeyToken=ce2cb7e279207b9e, processorArchitecture=x86" assembly was no longer in the GAC.

I did not test "https://dev-builds.libreoffice.org/daily/master/Win-x86_64@tb78-pollux-TDF_wix/2025-01-12_04.46.10/LibreOfficeDev-25.8.0.0-64.msi".  Is the GAC registration expected to be any different in that version?
Comment 12 Buovjaga 2025-01-12 11:03:20 UTC
(In reply to Kalle Niemitalo from comment #11)
> I did not test
> "https://dev-builds.libreoffice.org/daily/master/Win-x86_64@tb78-pollux-
> TDF_wix/2025-01-12_04.46.10/LibreOfficeDev-25.8.0.0-64.msi".  Is the GAC
> registration expected to be any different in that version?

Thanks a lot for the testing. The wix build is using an experimental WiX-based installer, so you don't have to worry about it.