Fix: Microsoft Office Error Codes 0-2048(0) and 0-2054(0) During Installation

Office installation may fail with error codes 0-2048(0) or 0-2054(0) when the setup cannot access a valid configuration file or source path. Error 0-2048(0) usually means that the XML configuration file is missing or points to an invalid path, while error 0-2054(0) indicates a general installation failure.

These issues often occur due to corrupted configuration files, leftover components from older Office versions, or insufficient administrative permissions. Incorrect version references inside the XML file or running the setup without elevated rights are also common triggers.

To fix this issue, you need to completely remove all previous Office components and install Office again using a freshly generated configuration file. This ensures that no corrupted leftovers or outdated paths interfere with the new installation.

Follow these steps carefully:

Step 1: Uninstall Office and Remove All Leftovers

  1. Open your browser and visit the Revo Uninstaller webpage and click Free Download.
  2. Install Revo by running the downloaded setup file.
  3. Open Revo Uninstaller, go to the Uninstaller tab, search for Office, right-click it, and select Uninstall.
  4. Uncheck “Create a Restore Point” when prompted, then click Continue and confirm uninstallation.
  5. Once Revo completes the process, choose Advanced scanning mode and click Scan.
  6. Select all leftover registry items and click Delete.
  7. Remove all leftover files when prompted.

Step 2: Clear Temporary and App Data Folders

  1. Press Win + R, type %temp%, and delete all contents. Repeat the same for temp and Prefetch.
  2. Type %appdata% in Run, press Enter, go to Roaming > Microsoft, and delete Office-related folders (Word, Excel, PowerPoint, etc.).
  3. Restart your computer.

Step 3: Generate a Fresh XML Configuration File

  1. Go to the Office Customization Tool.
  2. Select the correct architecture (64-bit or 32-bit). (Check under “About my PC” in Start.)
  3. Choose your Office version (e.g., Microsoft 365 for Enterprise) and select the apps you need.
  4. Set Update Channel to Current and version to Latest.
  5. Choose your language and select Office Content Delivery Network as the installation method.
  6. Under Upgrade options, enable uninstalling older MSI versions.
  7. Set your licensing and preferences, then click Finish.
  8. Click Export, select Open XML formats, name the file, and download it.

Step 4: Install Office with the Deployment Tool

  1. Download the Office Deployment Tool and install it.
  2. Place the new XML file inside the Deployment Tool folder.
  3. Temporarily disable Windows Defender’s Real-Time Protection.
  4. Open Command Prompt as Administrator, navigate to the Deployment Tool folder using cd, and run:
    setup /configure configuration.xml

    (Replace configuration.xml with your XML filename.)

  5. Once installation completes, re-enable all security settings.

What If This Still Doesn’t Work?

If the issue persists, try these additional steps:

  • Use Microsoft’s Office Uninstall Support Tool to ensure complete removal.
  • Install Office using an offline installer from your Microsoft account’s download page.
  • Check your disk for errors and ensure you have enough free space for the installation.
ABOUT THE AUTHOR

Muhammad Zubyan


Muhammad Zubyan is a certified Google IT Support Professional with over 7 years of extensive experience. He has worked on more than 1500 computers, gaining valuable insights that enable him to detect and troubleshoot any complicated root cause of Windows-related issues and errors. In addition to managing Appuals as a Senior Editor, he is currently developing his own Game Optimization program that caters to both gamers and casual users alike.