I am trying to build an image of Windows Server 2019 with Excel installed. Below is my Dockerfile
FROM mcr.microsoft.com/windows:1903
WORKDIR C:\deploy\
# Install Office deployment tool
ADD https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_12827-20268.exe C:/deploy/deploymenttool_autoextract.exe
RUN C:/deploy/deploymenttool_autoextract.exe /quiet /passive /extract:C:/deploy
COPY configuration.xml C:/deploy
# Download Office
RUN .\setup.exe /download configuration.xml
# Install Office
RUN .\setup.exe /configure configuration.xml
On step setup.exe /download configuration.xml, an non-zero error code 2147972583 is returned. I've tried to google for such error code but can't seem to find anything.
Below's my configuration.xml in case something is wrong with it:
<Configuration>
<Add OfficeClientEdition="32" Channel="PerpetualVL2019">
<Product ID="ProPlus2019Volume">
<Language ID="en-us" />
</Product>
</Add>
<!-- <RemoveMSI All="True" /> -->
<Display Level="None" AcceptEULA="TRUE" />
<Property Name="AUTOACTIVATE" Value="1" />
<Logging Name="Setup.log" Path="C:\deploy" />
</Configuration>
Thanks for any help in advance