Prevent LibreOffice association for MSO types

Help with installation and general system troubleshooting questions concerning the office suite LibreOffice.
Locked
hlad05
Posts: 1
Joined: Fri Dec 20, 2024 2:48 pm

Prevent LibreOffice association for MSO types

Post by hlad05 »

LibreOffice 7.0.1.2 was also installed on the computer with MS Office 2013. I uninstalled Libreoffice of this version and then installed new version 24.2.7.2. Libreoffice has changed some file associations in Windows 10!
In doing so, I used a script that installs the MSI package using parameters that should prevent this from happening:

$args= "/qn /norestart /i LibreOffice_24.2.7_Win_x86-64.msi AGREETOLICENSE=yes ALLUSERS=1 REGISTER_ALL_MSO_TYPES=0 REGISTER_NO_MSO_TYPES=1"
msiexec.exe -ArgumentList $args

Before installing the new version of libreoffice, all MSO file types were associated with MS Office.
Current status - this file extensions are associated with LibreOffice:
dotm, pot, potm, pps, ppsx, pptm, xlsb, xlsm, xlt

On other computers, other associations took over.

How do I prevent Libreoffice from accessing my already assigned associations???
LibreOffice 24.2.7
User avatar
LastUnicorn
Posts: 767
Joined: Sat Mar 29, 2008 2:41 am
Location: Scotland

Re: LibreOffice - how prevent association for MSO types?

Post by LastUnicorn »

I think you're maybe being a bit too clever in using a script to install. Best just let LibreOffice run its own install routine and make what selections you want from within that. I don't think you should have uninstalled the old version of LibreOffice and then do a completely fresh install of the new version. Just install the new version over the top of the old and things should have remained as they were with respect to associations.

If you want to manually re-assign associations for MS Office then see this: How to Change File Associations in Windows

I would note that any time I have done a fresh install of LibreOffice in Windows 10 and Windows 11 I have always had to go and manually set some file associations for it in 'Default Apps'. Need to be mindful that Microsoft really don't want you using anything other than MS Office and force you into playing fun and games in 'Default Apps' to get associations set. (Microsoft also force this on several other programs that I install to my system — must go into Default Apps and set associations manually.)
LibreOffice 25.2.3.2 (x64) installed to Windows 11 Pro. 24H2
Apache OpenOffice Portable 4.1.15 [Portable Apps]
For Java I use Adoptium Temurin JRE LTS Releases.
Locked