<Property Name="AUTOACTIVATE" Value="1" /> <Property Name="FORCEAPPSHUTDOWN" Value="TRUE" /> <Property Name="DeviceBasedLicensing" Value="0" /> If using a MAK key directly:
The configuration.xml file is an essential component when deploying Microsoft Office 2019 using the Office Deployment Tool (ODT) . It defines exactly which products, languages, and settings to install, remove, or update. 1. Basic Structure of a Configuration.xml File A minimal configuration.xml looks like this: configuration xml office 2019
<Configuration> <Add OfficeClientEdition="64" Channel="PerpetualVL2019"> <Product ID="ProPlus2019Volume" PIDKEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"> <Language ID="en-us" /> </Product> </Add> </Configuration> | Element | Purpose | |---------|---------| | <Add> | Specifies which products to install (Office, Visio, Project) | | OfficeClientEdition | 32 or 64 – architecture | | Channel | For Office 2019 volume licensed: PerpetualVL2019 | | Product ID | e.g., ProPlus2019Volume , VisioPro2019Volume , ProjectPro2019Volume | | PIDKEY | Volume license product key (if not using KMS/MAK activation separately) | | <Language ID> | Language pack (e.g., en-us , fr-fr ) | | <Remove> | Removes existing Office products | | <Updates> | Controls update behavior | | <Display> | Sets installation UI options | | <Logging> | Defines log file path and verbosity | 3. Common Deployment Scenarios A. Fresh Install (Silent, No UI) <Configuration> <Add OfficeClientEdition="64" Channel="PerpetualVL2019"> <Product ID="ProPlus2019Volume"> <Language ID="en-us" /> </Product> <Product ID="VisioPro2019Volume"> <Language ID="en-us" /> </Product> </Add> <Display Level="None" AcceptEULA="TRUE" /> <Logging Level="Standard" Path="C:\ODTLogs\" /> </Configuration> B. Uninstall Existing MSI Office (e.g., Office 2016) <Configuration> <Remove All="TRUE"> <Product ID="ProPlus2019Volume"> <Language ID="matchOS" /> </Product> </Remove> <Display Level="None" AcceptEULA="TRUE" /> </Configuration> C. Install with Multiple Languages <Configuration> <Add OfficeClientEdition="64" Channel="PerpetualVL2019"> <Product ID="ProPlus2019Volume"> <Language ID="en-us" /> <Language ID="fr-fr" /> <Language ID="de-de" /> </Product> </Add> <Display Level="Full" AcceptEULA="TRUE" /> </Configuration> D. Excluding Specific Apps (XML Modern) <Configuration> <Add OfficeClientEdition="64" Channel="PerpetualVL2019"> <Product ID="ProPlus2019Volume"> <Language ID="en-us" /> <ExcludeApp ID="OneDrive" /> <ExcludeApp ID="Groove" /> <ExcludeApp ID="Teams" /> </Product> </Add> <Display Level="None" AcceptEULA="TRUE" /> </Configuration> 4. Activation Settings For KMS or MAK activation, you can add: Basic Structure of a Configuration