logo
search
Office Installation Errors

Fix Office Deployment Tool Error 0-2054: Configuration File Not Specified

Aamir Naveed AkramAamir Naveed Akram Oct 10, 2026 871 views

Question details

The user needs to resolve error 0-2054 encountered while using the Office Deployment Tool, which states that the configuration file was not specified.

Product
Microsoft Office 2019
Device & OS
not provided
Scenario
Installing Microsoft Office 2019 using the Office Deployment Tool via Command Prompt.
Observed behavior
The setup.exe fails to execute the installation because it cannot locate or recognize the specified XML configuration file, returning error code 0-2054.
Before you start

Ensure you have downloaded the latest version of the Office Deployment Tool from Microsoft and have administrative privileges on your computer.

Solution 1Recommended

Run Setup with Correct File Paths in Elevated Command Prompt

The most common cause of error 0-2054 is running the setup command from a directory that does not contain the configuration file.

To successfully configure the installation, both the executable and the configuration file must reside in the same folder, and the Command Prompt must be directed to that specific path.

1
Consolidate your files

Ensure that both 'setup.exe' and your 'configuration.xml' file are placed in the exact same folder (for example, C:\ODT).

2
Open Command Prompt as Administrator

Click the Windows Start menu, type 'cmd', right-click 'Command Prompt' from the search results, and select 'Run as administrator'.

3
Navigate to your deployment folder

Type the command 'cd' followed by a space and your folder path (e.g., 'cd C:\ODT'), then press Enter.

4
Execute the deployment command

Type 'setup.exe /configure configuration.xml' and press Enter to start the installation process.

Run Setup with Correct File Paths in Elevated Command Prompt
Check file extensions: Verify that your configuration file isn't accidentally named 'configuration.xml.xml' due to hidden file extensions in Windows.
Free Microsoft Office alternative

Try WPS Office: A Hassle-Free Alternative to Complex Installations

Struggling with Office Deployment Tool errors and complex XML configurations? WPS Office offers a straightforward, one-click installation process. It is a free, lightweight alternative that requires no command-line setups while remaining fully compatible with Microsoft Word, Excel, and PowerPoint files.

Simple one-click installation without deployment tools or XML scripts.Completely free to use with a highly familiar user interface.Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Lightweight software that runs smoothly without heavily taxing system resources.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the Office Deployment Tool say the configuration file was not specified?

This error typically occurs if the Command Prompt is not navigated to the folder where the configuration file is saved, if there is a typo in the file name within the command line, or if the XML file is hidden or improperly formatted.

Do I need an internet connection to use the Office Deployment Tool?

Yes, unless you have previously downloaded the installation files locally using the `/download` command, the setup requires an active internet connection to fetch the Office 2019 installation files and updates.

Can I use any name for the XML configuration file?

Yes, you can name the configuration file anything you want (for example, 'install.xml'). However, you must use that exact name in your Command Prompt execution, such as running 'setup.exe /configure install.xml'.