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

Office installation can occasionally encounter obstacles, manifesting as error codes 0-2048(0) or 0-2054(0). These codes typically arise when the setup process is unable to access a valid configuration file or source path. The Error 0-2048(0) indicates that the XML configuration file is either missing or incorrectly referenced, while Error 0-2054(0) signifies a more general installation failure. Such issues often stem from corrupted configuration files, remnants of previous Office versions, or insufficient administrative permissions. Additionally, incorrect version references within the XML file or executing the setup without elevated rights can also trigger these errors.

Steps to Resolve Installation Errors

To address these installation challenges, a thorough removal of all previous Office components followed by a fresh installation using a newly generated configuration file is essential. This approach ensures that no corrupted remnants or outdated paths hinder the new installation process. Below are the detailed steps to follow:

Step 1: Uninstall Office and Remove All Leftovers

  1. Open your browser and navigate to the Revo Uninstaller webpage, then click on Free Download.
  2. Install Revo by executing the downloaded setup file.
  3. Launch Revo Uninstaller, go to the Uninstaller tab, search for Office, right-click it, and select Uninstall.
  4. When prompted, uncheck “Create a Restore Point,” click Continue, and confirm the uninstallation.
  5. Once Revo completes the process, opt for 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 this for temp and Prefetch.
  2. Type %appdata% in Run, press Enter, navigate to Roaming > Microsoft, and delete any Office-related folders (Word, Excel, PowerPoint, etc.).
  3. Restart your computer.

Step 3: Generate a Fresh XML Configuration File

  1. Access the Office Customization Tool.
  2. Select the appropriate architecture (64-bit or 32-bit). (You can check this under “About my PC” in Start.)
  3. Choose your Office version (e.g., Microsoft 365 for Enterprise) and select the applications you require.
  4. Set the Update Channel to Current and the version to Latest.
  5. Select your preferred language and choose Office Content Delivery Network as the installation method.
  6. Under Upgrade options, enable the option to uninstall older MSI versions.
  7. Configure 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 newly created XML file in 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 execute the following command:
  5. setup /configure configuration.xml
  6. Replace configuration.xml with your specific XML filename.
  7. Once the installation is complete, re-enable all security settings.

What If This Still Doesn’t Work?

If the installation issues persist, consider the following additional steps:

  • Utilize Microsoft’s Office Uninstall Support Tool to ensure complete removal of all components.
  • Install Office using an offline installer available from your Microsoft account’s download page.
  • Check your disk for errors and verify that there is sufficient free space for the installation.
Winsage
Fix: Microsoft Office Error Codes 0-2048(0) and 0-2054(0) During Installation