Deploying Office 2019 and Error 30125

One of my clients is a small charity which has some entitlements to Microsoft Office licences obtained through the Techsoup programme.

The licences are managed at the Microsoft Volume Licensing Service Center from which can be obtained MAK keys for deployment of the software in small numbers of installations.

Installations of Office 2019 are required to use the Office Deployment Tool to download and install the product. This process is well documented at, but this author (and many other practitioners) have encountered errors, notably "error 30125-1007 (400)".

If the procedure recommended by Microsoft is followed, and the Office Customisation Tool is used to prepare the configuration file, and United Kingdom English is specified as the preferred language, then the installation process fails. The solution is to change the file to read <Language ID="en-us" /> instead of en-gb.

The following shows the Configuration.xml file successfully used. Note that "Sourcepath" should agree with the location to which the Office files are downloaded.

<Configuration ID="f74d32cf-5b61-467a-9628-82bc4a394e11">
<Info Description="Created by PT 27 November 2021" />
<Add OfficeClientEdition="64" Channel="PerpetualVL2019"
AllowCdnFallback="True" SourcePath="C:\OFFICE2019\Office2019">
<Language ID="en-us" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<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 />
<Setup Name="Company" Value="My Company Name" />
<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" />

Once the product is installed, the language can be checked e.g. in Word Options, and this should be United Kingdom English if that is what has been previously specified for Windows.

Use the Configuration.xml file as described in Microsoft's documentation to download the software from the CDN:

setup /download Configuration.xml

Office 2019 should now be downloaded to a subfolder "Office2019\Office\Data". The downloaded files together with the deployment tool can be used more than once to perform an installation, for example by storing them on a memory stick keeping the folder structure intact. To make an installation, copy the files to a suitable location on the target PC e.g. C:\OFFICE2019 and ensure that the XML file specifies the correct SourcePath value. A BAT file can be created, and "run as administrator" to perform the installation:

cd "C:\OFFICE2019"
.\setup /configure Configuration.xml


© Peter Talbot 2020 - 2023 all rights reserved