top of page
Search

(102) Microsoft Intune - Microsoft 365 Apps (Win32 App)

  • Writer: Mr B SOE way
    Mr B SOE way
  • Feb 27, 2024
  • 2 min read

Sometime last year in a project I was involved with doing, a customer wanted to use Microsoft 365 Apps as a Win32 App which then gets added to the ESP (Enrolment Status Page) as this was part of the pre-provisioning for any new devices.


All the content can be found here: https://github.com/mrbernardmah/intune-m365apps-win32app - just make sure to update the 'Company Name'


1st Step: Download and run this: https://www.microsoft.com/en-us/download/details.aspx?id=49117. This will then extract it into a folder like this:

2nd Step: copy the setup.exe into a separate folder like this


3rd Step: Navigate to https://config.office.com/ then select 'Create a new configuration'










4th Step: Once done, select Export.


The install.xml should look like this:

<Configuration ID="41884d9b-d9e3-4e81-9378-c12b50f36d77">

<Add OfficeClientEdition="64" Channel="Current" AllowCdnFallback="True" MigrateArch="TRUE">

<Product ID="O365ProPlusRetail">

<Language ID="en-us" />

<Language ID="MatchPreviousMSI" />

<ExcludeApp ID="Groove" />

<ExcludeApp ID="Lync" />

<ExcludeApp ID="Bing" />

</Product>

</Add>

<Property Name="SharedComputerLicensing" Value="0" />

<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />

<Property Name="DeviceBasedLicensing" Value="0" />

<Property Name="SCLCacheOverride" Value="0" />

<Updates Enabled="TRUE" />

<RemoveMSI />

<AppSettings>

<Setup Name="Company" Value="MR B SOE Way" />

<User Key="software\microsoft\office\16.0\common\general" Name="shownfirstrunoptin" Value="1" Type="REG_DWORD" App="office16" Id="L_DisableOptinWizard" />

<User Key="software\microsoft\office\16.0\common" Name="qmenable" Value="0" Type="REG_DWORD" App="office16" Id="L_EnableCustomerExperienceImprovementProgram" />

<User Key="software\microsoft\office\16.0\excel\options" Name="defaultformat" Value="60" Type="REG_DWORD" App="excel16" Id="L_SaveExcelfilesas" />

<User Key="software\microsoft\office\16.0\powerpoint\options" Name="defaultformat" Value="52" Type="REG_DWORD" App="ppt16" Id="L_SavePowerPointfilesas" />

<User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="ODT" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas" />

</AppSettings>

<Display Level="Full" AcceptEULA="TRUE" />

</Configuration>



5th Step: Create an uninstall.xml file with the following:


<Configuration>

<Display Level="None" AcceptEULA="True" />

<Property Name="FORCEAPPSHUTDOWN" Value="True" />

<Remove>

<Product ID="O365ProPlusRetail">

</Product>

</Remove>

</Configuration>


6th Step: It show now be like this, next is to create it as Win32 App.


7th Step: Using the Win32 App creation https://github.com/microsoft/Intune-Win32-App-Packaging-Tool where it should look like this.







8th Step: Navigate to intune.microsoft.com > Windows > Apps > Upload .intunewin file


Command lines:

Install: setup.exe /configure install.xml

Uninstall: setup.exe /configure uninstall.xml


Operating System architecture: x64

Minimum Operating System: Window 10 1607


Detection Methods:

Rules format: Manually configure detection rules

Rule type: Registry

Key Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\O365ProPlusRetail - en-us

Value name: DisplayVersion

Detection Method: Version comparison

Operator: Greater than or equal to

Value: 16.0.16227.20244 Where the 'Value' is from the setup.exe downloaded from the 1st step.


9th Step: Once the app has been uploaded successfully, update the ESP and add the Win32 app.

 
 
 

Comments


bottom of page