Packaging LibreOffice for Microsoft Intune
This guide outlines the end-to-end process enterprise system
administrators use to package and deploy LibreOffice using Microsoft
Intune. You will learn how to obtain the official MSI package, convert
it into the required .intunewin format using the Microsoft
Win32 Content Prep Tool, configure silent installation parameters, set
up accurate detection rules, and assign the application to target
enterprise endpoints.
Prerequisites
Before beginning the packaging process, ensure you have the following items:
- The official LibreOffice MSI installer (Enterprise/Still version recommended for stability).
- The Microsoft Win32 Content Prep Tool
(
IntuneWinAppUtil.exe), available from Microsoft’s official GitHub repository. - Administrative access to the Microsoft Intune admin center.
Step 1: Prepare the Source Directory
- Create a dedicated working directory on your local machine, such as
C:\IntunePackaging\LibreOffice. - Inside that directory, create two subfolders:
Source: Place the downloaded LibreOffice MSI file here (e.g.,LibreOffice_7.x.x_Win_x64.msi).Output: Leave this folder empty to store the generated.intunewinpackage.
- Place
IntuneWinAppUtil.exein the root working directory or make it accessible via command line.
Step 2: Generate the .intunewin Package
- Open PowerShell or Command Prompt as an administrator.
- Run
IntuneWinAppUtil.exe. - Provide the required parameters when prompted:
- Source folder:
C:\IntunePackaging\LibreOffice\Source - Setup file:
LibreOffice_7.x.x_Win_x64.msi(exact filename) - Output folder:
C:\IntunePackaging\LibreOffice\Output - Specify catalog folder: Type
N
- Source folder:
- Wait for the tool to complete the compression process. The generated
file will be located in the
Outputdirectory.
Step 3: Add the Win32 App to Microsoft Intune
- Sign in to the Microsoft Intune admin center.
- Navigate to Apps > Windows > Add.
- In the App type drop-down menu, select Windows app (Win32) and click Select.
- On the App information tab, click Select
app package file, browse to your
Outputfolder, select the.intunewinfile, and click OK.
Step 4: Configure Application Metadata and Commands
App Information
Fill in the standard metadata: * Name: LibreOffice (include version number if desired) * Description: Enter a clear description for users viewing Company Portal. * Publisher: The Document Foundation * Category: Productivity (optional)
Program Settings
Configure the execution parameters for unattended enterprise installation:
- Install command:
msiexec /i "LibreOffice_7.x.x_Win_x64.msi" /qn /norestart ALLUSERS=1 CREATEDESKTOPICON=0 UI_LANGS=en_US - Uninstall command:
msiexec /x "{Product-Code-GUID}" /qn /norestart
(Intune typically auto-populates the correct MSI Product Code). - Install behavior: System
- Device restart behavior: No specific action or Determine behavior based on return codes.
Step 5: Specify Requirements and Detection Rules
Requirements
- Operating system architecture: 64-bit (or 32-bit depending on the installer used).
- Minimum operating system: Select your enterprise baseline (e.g., Windows 10 21H2 or Windows 11).
Detection Rules
- In the Rules format drop-down menu, select Manually configure detection rules.
- Click Add and choose MSI as the rule type.
- Intune will automatically detect and populate the MSI product code.
- Set MSI product version check to No (or Yes if you specifically require version-level enforcement).
- Click OK.
Step 6: Assign and Deploy
- Proceed to the Assignments tab.
- Under Required, add the Entra ID device or user groups that must receive LibreOffice automatically.
- Alternatively, add groups under Available for enrolled devices to allow users to self-install via the Company Portal app.
- Review your settings on the Review + create tab and click Create.
Intune will upload the package. Once uploaded, the service will process the deployment and begin distributing LibreOffice to the targeted endpoints according to your assignment schedule.