Share via

Custom deployment of MS Office fails: "configuration file wasn't specified"

Anonymous
2024-03-26T18:30:47+00:00

I am trying to install just a select few Office applications on my Surface, that doesn't have enough space for things I don't need (access, Publisher etc).

I own a perpetual 2021 license.

I am following the instructions listed here.

https://www.winhelponline.com/blog/custom-install-uninstall-office-apps/

My configuration.xml looks like this:

<Configuration>

<Add OfficeClientEdition="64" Channel="Current">

<Product ID="ProPlus2021Retail">

<Language ID="en-us" />

<ExcludeApp ID="Access" />

<ExcludeApp ID="Groove" />

<ExcludeApp ID="Lync" />

<ExcludeApp ID="Publisher" />

</Product>

</Add>

<Updates Enabled="TRUE" />

<Display Level="Full" AcceptEULA="TRUE" />

</Configuration>

Then I try to run the following command:

“C:\OfficeTemp\Setup.exe” /download “C:\OfficeTemp\configuration.xml”

It starts, but then it errors out, saying "Couldn't install. The configuration file wasn't specified."

Please advise.

Microsoft 365 and Office | Install, redeem, activate | For home | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. Anonymous
    2024-03-26T22:24:28+00:00

    Positive feedback for what?

    Was this answer helpful?

    100+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-03-26T19:22:01+00:00

    Apologies for the confusion earlier. Since there is no space in the file path, let's explore other possible solutions.

    One potential issue could be with the location of the configuration.xml file. Double-check that the file is located in the "C:\Office Temp" directory and that the file name is spelled correctly.

    If the file is in the correct location and the name is accurate, another option is to try running the command prompt as an administrator before executing the installation command. This can sometimes resolve permission-related issues.

    To run Command Prompt as an administrator:

    1. Press the Windows key + X on your keyboard.
    2. From the menu that appears, select "Command Prompt (Admin)".

    Once the Command Prompt is open with administrative privileges, try running the installation command again.

    Glad I could have helped, please leave positive feedback.

    Was this answer helpful?

    10 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-03-26T19:06:18+00:00

    Hey there!

    It seems like you're encountering an error while trying to deploy a custom installation of Microsoft Office using a configuration file. I understand that you want to install only specific Office applications on your Surface to save space.

    Based on the error message you received, it appears that there might be an issue with the command you're using to run the installation. Let's take a closer look at it.

    Make sure that there are no spaces in the file path for the configuration.xml file. In your command, it seems like there is a space after "C:\Office Temp" and before "\configuration.xml". Try removing that space and run the command again.

    The corrected command should look like this: "C:\Office Temp\Setup.exe" /download "C:\Office Temp\configuration.xml"

    By removing the space, the command should be able to locate and use the configuration file properly.

    Give it a try I’m glad I could help. Please leave positive feedback.

    Was this answer helpful?

    6 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-03-26T22:16:30+00:00

    Please carefully look to ensure there are no errors, I have forwarded this to an expert team who will manage this case now. I hope they can resolve this.

    Please leave positive feedback, Kind Regards.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2024-03-26T19:34:43+00:00

    the location is correct.

    I did try running it from cmd prompt earlier, both regular and admin, but nothing happened at all.

    the only way to even get the Office install window to show up is if i run it from the start line. I don't understand why.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments