How to deploy Apache OpenOffice using Microsoft Intune

In this blog post, we will see how to deploy Apache OpenOffice 4.1.12 on Windows 10 / Windows 11 devices using Microsoft Intune. For this deployment, we first will need to download Apache OpenOffice Windows Installer. The Installer is currently only available as a 32-bit application.

STEP 1 – Download Apache OpenOffice application

Download the application by clicking on the link: Apache OpenOffice – Official Download and selecting the platform as Windows 32-bit (x86) (EXE), language, and version number. After that click on Download Full Installation to start downloading. We will be using Intune Windows app (Win32) app type deployment for this application.

Download Apache OpenOffice application
Download Apache OpenOffice application

STEP 2 – Create .Intunewin file

Before deploying Apache OpenOffice via the Intune admin center, we need to package it into a file format called .Intunewin. Here are the steps to do that.

  • Extract the Apache_OpenOffice_4.1.12_Win_x86_install_en-GB.exe installer in any folder for example: C:\OpenOffice4. Depending upon the version of OpenOffice you have downloaded, the installer version will be different in the file name. At the time of writing this blog post, currently Apache OpenOffice 4.1.12 is the latest version.
Create .Intunewin file
Create .Intunewin file
  • Download Microsoft Win32 Content Prep Tool. It’s a zip file therefore extract its contents into a folder.
  • Create an empty folder for example C:\output or anywhere you like.
  • Repackage the application folder OpenOffice4 to .intunewin file using IntuneWinAppUtil.exe which can be located in Microsoft Win32 Content Prep Tool.

Use below process to repackage the application/setup files to .intunewin file. Launch command prompt as administrator, change the current folder to where Microsoft Win32 Content Prep Tool is downloaded, and run below command.

IntuneWinAppUtil.exe -c <setup_folder> -s <setup_file> -o <output_folder>
  • <setup_folder> = Provide the location of Apache OpenOffice Extracted Setup Folder Path.
  • <setup_file> = setup.exe
  • <output_folder> = Create an Empty folder somewhere and provide that location.
IntuneWinAppUtil.exe -c C:\OpenOffice4 -s setup.exe -o C:\output
Create .Intunewin file
Create .Intunewin file

Check the folder c:\output and you should find a file with .intunewin extension.

Create .Intunewin file
Create .Intunewin file

STEP 3 – Create App Deployment on Intune admin center

  • Login on Microsoft Intune Admin Center.
  • Click on Apps and then click on All Apps.
  • Click on + Add and Select Windows app (Win32) from the app type.
Select Win32 app deployment App type
Select Win32 app deployment App type
  • Click on Select app package file to select the setup.intunewin file package.
Select app package file
Select app package file
  • Browse to select setup.intunewin file and then click on OK button.
Browse to .Intunewin file
Browse to .Intunewin file

App Information

On the App Information page, Provide, the Name, Description, and Publisher information and click Next.

Provide Information about the App on App Information form
Provide Information about the App on App Information form

Program

Provide the install command and uninstall command.

  • Install Command:
setup.exe /qn
  • Uninstall Command:

The UninstallString used in the command depends on the specific version of Apache OpenOffice installed on the PC. You might have a different UninstallString for different versions. To ensure you’re using the correct UninstallString, you can check the registry locations mentioned below and update it in the command accordingly.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall

MsiExec.exe /X{E9F3BF94-AA18-42B6-8B6D-245BBF585C8C} /qn
Software VersionUninstallString
Apache OpenOffice 4.1.12MsiExec.exe /X{E9F3BF94-AA18-42B6-8B6D-245BBF585C8C} /qn
Apache OpenOffice 4.1.13MsiExec.exe /X{D86F0E67-2C02-4DFF-A46A-6871BA809A51} /qn
  • Install behavior: System
  • Device restart behavior: No specific action
Configure Install and Uninstall Commands under Program tab
Configure Install and Uninstall Commands under Program tab

Requirements

You can specify the requirements that devices must meet in order to deploy the app. If your devices are a mix of 32-bit and 64-bit types, then check both the boxes for 32-bit and 64-bit in the Operating system architecture drop-down. Else, just go with 64-bit.

  • Operating System Architecture: Select 64-bit
  • Minimum operating system: Select according to the operating system version being used in your environment.
Provide requirements for installing this app under Requirements tab
Provide requirements for installing this app under Requirements tab

Detection Rules

  • Rules Format: Select Manually configure detection rules
  • Rule Type: File
  • Path: C:\Program Files (x86)\
  • Detection Method: File or Folder Exits.
Detection rules for Apache Open Office app
Detection rules for Apache Open Office app

Assignments

Click on Add group to add an Azure AD group containing users or devices. You can also click on Add all users or Add all devices.

Assign the app to users/devices
Assign the app to users/devices

Review + Create

Review the deployment and click on Create to start the deployment process.

STEP 3 – Monitoring

To check the Installation status of the app, You can follow below steps:

  • From Microsoft Intune admin center, Click on Apps on the left-hand side.
  • Click on All apps.
  • Search for the app Apache OpenOffice 4.1.12 and click on it.
Monitoring the deployment progress
Monitoring the deployment progress
  • From the Overview page of the Application, you can check the status of Installation and Failures. To find more details, you can also click on Device Install status or User Install status.
Application has been installed successfully
Application has been installed successfully

Leave a Comment