Forum Discussion
Intune Installation Problem
Hi there,
We have been trying to install MS365 apps for some time, but so far only partially successful...
Office 2019 was installed on the laptops via XML, we first tried it in Intune with the app ‘Install MS365 Apps’, but without success.
We then created our own .xml, the installation XML contains a line that deletes Office 2019 and then installs MS365, we installed this programme as a WIN32 app. It has worked on 4 computers, on all others there are fatal errors, e.g. : (0x80070643) and 0x8007426E, otherwise the programme is pending installation.
Here is the new installation xml script:
<Configuration ID="">
<Display Level="None" AcceptEULA="True"/>
<Property Name="FORCEAPPSHUTDOWN" Value="True"/>
<Remove>
<Product ID="Standard2019Volume"/>
</Remove>
<Info Description=""/>
<Add OfficeClientEdition="64" Channel="Current" MigrateArch="TRUE">
<Product ID="O365BusinessRetail">
<Language ID="de-de"/>
<ExcludeApp ID="Groove"/>
<ExcludeApp ID="Lync"/>
</Product>
<Product ID="VisioStd2019Volume" PIDKEY="">
<Language ID="de-de"/>
<ExcludeApp ID="Groove"/>
<ExcludeApp ID="Lync"/>
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0"/>
<Property Name="FORCEAPPSHUTDOWN" Value="FALSE"/>
<Property Name="DeviceBasedLicensing" Value="0"/>
<Property Name="SCLCacheOverride" Value="0"/>
<Property Name="AUTOACTIVATE" Value="1"/>
<Updates Enabled="TRUE"/>
<RemoveMSI/>
<AppSettings>
<Setup Name="Company" Value=""/>
<User Key="software\microsoft\office\16.0\excel\options" Name="defaultformat" Value="51" Type="REG_DWORD" App="excel16" Id="L_SaveExcelfilesas"/>
<User Key="software\microsoft\office\16.0\powerpoint\options" Name="defaultformat" Value="27" Type="REG_DWORD" App="ppt16" Id="L_SavePowerPointfilesas"/>
<User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas"/>
</AppSettings>
<Display Level="Full" AcceptEULA="TRUE"/>
</Configuration>
The question now is how we can get Office 2019 uninstalled and MS365 installed in one go without the users noticing anything.
After 2 weeks and a lot of testing, we are very desperate ...
Lg Chris
1 Reply
Take this:
1. Error 0x80070643: Fatal Error During Installation
This error often occurs due to:- Conflicts with existing Office installations.
- Insufficient permissions for the SYSTEM account.
- Issues with the Windows Installer service.
Steps to Resolve:
- Uninstall Office 2019 Completely: Use the Microsoft Support and Recovery Assistant (SaRA) tool to ensure all remnants of Office 2019 are removed before deploying MS365.
- Grant SYSTEM Permissions: Ensure the SYSTEM account has full control over the installation folder.
- Enable Verbose Logging: Add logging parameters to your installation command to capture detailed logs. This can help identify the root cause of the failure.
2. Error 0x8007426E
This error is less common but can occur due to:- Incorrect XML configuration.
- Pre-installed Office versions conflicting with the deployment.
Steps to Resolve:
- Check Pre-installed Office Versions: If the devices came with pre-installed Office Home or Student versions, ensure they are removed before deploying MS365.
- Test the XML Script: Run the XML script manually on an affected device to verify its functionality. Use tools like PsExec to run the installation as the SYSTEM account.
3. Optimize Your XML Script
- Remove Duplicate Properties: You have two FORCEAPPSHUTDOWN properties with conflicting values. Keep only one with Value="True".
- Simplify the Configuration: Remove unnecessary properties like SCLCacheOverride and DeviceBasedLicensing unless they are critical for your deployment.
4. General Recommendations
- Use Intune Logs: Check the IntuneManagementExtension.log file on affected devices for detailed error messages. This file is located in C:\ProgramData\Microsoft\IntuneManagementExtension\Logs.
- Test on a Clean Device: Deploy the app on a freshly imaged device to rule out conflicts with existing software.
- Update Intune and Office: Ensure you are using the latest versions of Intune and Office deployment tools.