LibreOffice Silent Install (How-To Guide)

LibreOffice is a free and open-source office suite. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of LibreOffice from the command line using the MSI installer.

How to Install LibreOffice Silently

LibreOffice 7 (32-bit) Silent Install (MSI)

  1. Navigate to https://www.libreoffice.org/download/download/
  2. Select Windows 32-bit MSI Installer
  3. Download the file to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: MsiExec.exe /i LibreOffice_7.x.x_Win_x86.msi RebootYesNo=No /qn
  7. Press Enter

After a few minutes you should see the LibreOffice Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:LibreOffice
Vendor:The Document Foundation
Version:7.x
Architecture:x86
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i LibreOffice_7.x.x_Win_x86.msi RebootYesNo=No /qn
Silent Uninstall Switch:MsiExec.exe /x LibreOffice_7.x.x_Win_x86.msi RebootYesNo=No /qn
Repair Command:MsiExec.exe /fa LibreOffice_7.x.x_Win_x86.msi RebootYesNo=No /qn
Download Link:https://www.libreoffice.org/download/download/
PowerShell Script:https://silentinstallhq.com/libreoffice-install-and-uninstall-powershell/

LibreOffice 7 (64-bit) Silent Install (MSI)

  1. Navigate to https://www.libreoffice.org/download/download/
  2. Select Windows 64-bit MSI Installer
  3. Download the file to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: MsiExec.exe /i LibreOffice_7.x.x_Win_x64.msi RebootYesNo=No /qn
  7. Press Enter

After a few minutes you should see the LibreOffice Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:LibreOffice
Vendor:The Document Foundation
Version:7.x
Architecture:x64
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i LibreOffice_7.x.x_Win_x64.msi RebootYesNo=No /qn
Silent Uninstall Switch:MsiExec.exe /x LibreOffice_7.x.x_Win_x64.msi RebootYesNo=No /qn
Repair Command:MsiExec.exe /fa LibreOffice_7.x.x_Win_x64.msi RebootYesNo=No /qn
Download Link:https://www.libreoffice.org/download/download/
PowerShell Script:https://silentinstallhq.com/libreoffice-install-and-uninstall-powershell/

LibreOffice 6 (32-bit) Silent Install (MSI)

  1. Navigate to https://www.libreoffice.org/download/download/
  2. Select Windows 32-bit MSI Installer
  3. Download the file to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: MsiExec.exe /i LibreOffice_6.x.x_Win_x86.msi RebootYesNo=No /qn
  7. Press Enter

After a few minutes you should see the LibreOffice Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:LibreOffice
Vendor:The Document Foundation
Version:6.x
Architecture:x86
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i LibreOffice_6.x.x_Win_x86.msi RebootYesNo=No /qn
Silent Uninstall Switch:MsiExec.exe /x LibreOffice_6.x.x_Win_x86.msi RebootYesNo=No /qn
Repair Command:MsiExec.exe /fa LibreOffice_6.x.x_Win_x86.msi RebootYesNo=No /qn
Download Link:https://www.libreoffice.org/download/download/
PowerShell Script:https://silentinstallhq.com/libreoffice-install-and-uninstall-powershell/

LibreOffice 6 (64-bit) Silent Install (MSI)

  1. Navigate to https://www.libreoffice.org/download/download/
  2. Select Windows 64-bit MSI Installer
  3. Download the file to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: MsiExec.exe /i LibreOffice_6.x.x_Win_x64.msi RebootYesNo=No /qn
  7. Press Enter

After a few minutes you should see the LibreOffice Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:LibreOffice
Vendor:The Document Foundation
Version:6.x
Architecture:x64
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i LibreOffice_6.x.x_Win_x64.msi RebootYesNo=No /qn
Silent Uninstall Switch:MsiExec.exe /x LibreOffice_6.x.x_Win_x64.msi RebootYesNo=No /qn
Repair Command:MsiExec.exe /fa LibreOffice_6.x.x_Win_x64.msi RebootYesNo=No /qn
Download Link:https://www.libreoffice.org/download/download/
PowerShell Script:https://silentinstallhq.com/libreoffice-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Create an Installation Log File

The MSI installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.

LibreOffice 7 (32-bit) (MSI) Silent Install w/ Logging

MsiExec.exe /i LibreOffice_7.x.x_Win_x86.msi RebootYesNo=No /qn /L*v "%WINDIR%\Temp\LibreOffice-Install.log"

LibreOffice 7 (64-bit) (MSI) Silent Install w/ Logging

MsiExec.exe /i LibreOffice_7.x.x_Win_x64.msi RebootYesNo=No /qn /L*v "%WINDIR%\Temp\LibreOffice-Install.log"

Change Default Installation Directory

You can also change the default installation directory by using the following command line parameters. In this example, I’m installing LibreOffice to “C:\LibreOffice”

MsiExec.exe /i LibreOffice_7.x.x_Win_x64.msi INSTALLLOCATION="C:\LibreOffice" RebootYesNo=No /qn

Exclude Desktop Shortcut During Install

The LibreOffice installer creates a desktop shortcut by default. If you don’t want the desktop shortcut, then you can run the following command line switches to exclude it.

LibreOffice 7 (32-bit) (MSI) Silent Install without Desktop Shortcut

MsiExec.exe /i LibreOffice_7.x.x_Win_x86.msi CREATEDESKTOPLINK=0 RebootYesNo=No /qn

LibreOffice 7 (64-bit) (MSI) Silent Install without Desktop Shortcut

MsiExec.exe /i LibreOffice_7.x.x_Win_x64.msi CREATEDESKTOPLINK=0 RebootYesNo=No /qn

Disable LibreOffice Check For Updates

  • Open Notepad or your favorite text editor
  • Add the following lines:
<?xml version="1.0"?>
<oor:data xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oor="http://openoffice.org/2001/registry">
    <dependency file="main"/>
    <oor:component-data xmlns:install="http://openoffice.org/2004/installation" oor:name="Jobs" oor:package="org.openoffice.Office">
        <node oor:name="Jobs">
            <node oor:name="UpdateCheck" oor:op="fuse">
                <node oor:name="Arguments">
                    <prop oor:name="AutoCheckEnabled" oor:type="xs:boolean" oor:op="replace" oor:finalized="true">
                        <value>false</value>
                    </prop>
                </node>
            </node>
        </node>
    </oor:component-data>
</oor:data>
  • Save the file and name it: onlineupdateDisabled.xcd
  • Follow the “How to Install LibreOffice Silently” steps mentioned earlier in the article
  • Copy the onlineupdateDisabled.xcd file to the “%ProgramFiles%\LibreOffice\share\registry” directory

Once you confirm that the onlineupdateDisabled.xcd file is present in the “%ProgramFiles%\LibreOffice\share\registry” directory, you can launch LibreOffice and confirm that the Online Update Options area is greyed out and the “Check for updates automatically” is UNCHECKED under Tools-> Options-> Online Update


Set LibreOffice As Default Application For Microsoft Office File Formats

LibreOffice 7 (32-bit) (MSI) Silent Install Set File Formats

MsiExec.exe /i LibreOffice_7.x.x_Win_x86.msi REGISTER_ALL_MSO_TYPES=1 RebootYesNo=No /qn

LibreOffice 7 (64-bit) (MSI) Silent Install Set File Formats

MsiExec.exe /i LibreOffice_7.x.x_Win_x64.msi REGISTER_ALL_MSO_TYPES=1 RebootYesNo=No /qn

Do Not Use LibreOffice As Default Application For Microsoft Office File Formats

LibreOffice 7 (32-bit) (MSI) Silent Install Do Not Set File Formats

MsiExec.exe /i LibreOffice_7.x.x_Win_x86.msi REGISTER_NO_MSO_TYPES=1 RebootYesNo=No /qn

LibreOffice 7 (64-bit) (MSI) Silent Install Do Not Set File Formats

MsiExec.exe /i LibreOffice_7.x.x_Win_x64.msi REGISTER_NO_MSO_TYPES=1 RebootYesNo=No /qn

Set LibreOffice As Default For Specific Microsoft Office File Formats (.docx, .xlsx, .pptx, etc.)

MsiExec.exe /i LibreOffice_7.x.x_Win_x64.msi REGISTER_DOCX=1 RebootYesNo=No /qn
MsiExec.exe /i LibreOffice_7.x.x_Win_x64.msi REGISTER_XLSX=1 RebootYesNo=No /qn
MsiExec.exe /i LibreOffice_7.x.x_Win_x64.msi REGISTER_PPTX=1 RebootYesNo=No /qn

How to Uninstall LibreOffice Silently

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:
VersionLibreOffice Silent Uninstall String
7.1.0.3 (32-bit)MsiExec.exe /x {94597A85-20E2-45EC-84D0-E959A0872421} /qn
7.1.0.3 (64-bit)MsiExec.exe /x {FF0BB16C-BD95-497C-BCE6-4B567668AF1B} /qn
7.0.0 (32-bit)MsiExec.exe /x {951BEB71-15B4-44FD-96DA-719CC5D51E67} /qn
7.0.0 (64-bit)MsiExec.exe /x {7C7F19DA-6107-4284-9263-EC5C4792C8C7} /qn
6.4.7.2 (32-bit)MsiExec.exe /x {56182966-2129-47D4-B627-C42DA8063FFF} /qn
6.4.7.2 (64-bit)MsiExec.exe /x {19B8BD60-CB65-49E8-8CDC-4596799C4DA7} /qn
6.4.6 (32-bit)MsiExec.exe /x {64D839FF-C969-42B1-A0A0-C86D44D45461} /qn
6.4.6 (64-bit)MsiExec.exe /x {C91FC8F1-C648-422B-BF7C-ED71E74EC29C} /qn

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 18 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts