Windows 365 – Automate Office 365 Language Packs, Publisher and Visio for Intune

0 Shares

This week I’ve been working on automating all things Office 365. In SCCM we had bundled Language Packs based upon regions like EMEA, EPAC and so on. This was a simple quick and dirty approch, but it will pollute devices with Language Packs never being used, not very modern IMHO.

Starting with version 16.0.11615.33602 of the Office Deployment Tool (ODT) it’s possible to make changes to an existing installation of Office 365 while keeping the installed version as is, even when a newer one is available on the Office CDN.

Language Packs

The Office 365 XML configuration files needs to contain the proper culture code, which can be found here. You need to have two XML files per Language Pack, one for installation and one for uninstallation.

The trick here is to use MachInstalled, without that the installation will automatically upgrade the current installed Office version to the latest and greatest!

The Win32App creation and publishing itself is straight forward using the script as explained in the post Windows 365 – Building Win32Apps for Intune Automatically.

The DetectionRuleVersion in the XML file is used for detection, so make sure it’s lower than any currently deployed versions of Office 365 in your environment. Failing to do so, will prevent the application(s) from showing up in Company Portal.

Another lesson learned during testing, is that the installation will fail if there’s any Office products running. Make sure to use markdown to highlight this in the application description.

Publisher / Visio

Again we’re using MatchInstalled version.

The cool part here is that whenever you Add / Remove Products or Language Packs, it will follow the installed version and automatically Add / Remove Language Packs.

I always recommend testing prior to publishing to Intune. Here’s a snapshot from my Windows 7 repackager VM.

Looking at the image above, you can easily see why creating bundled Language Packs based upon regions it’s not a very clever idea.

Office 365

So how do we automatically update the product version of any installed Office 365 products? Quite simple, that’s based upon your Update Channel 2.0 settings in your Configuration Profile.

0 Shares

Automation Framework Community Edition

The fastest way to build your lab environment.

Virtual Expo

Friday 30th of September 2022

Leave a Comment