NetApp/trident

Not able to install office packages in windows docker containers

Closed this issue · 1 comments

Hi,

We're currently encountering an issue with installing Office packages in the Microsoft team image (mcr.microsoft.com/dotnet/framework/wcf:4.8-windowsservercore-ltsc2019). Despite attempts using both the Chocolatey command and a PowerShell script, we've been unsuccessful.

Here are the details of the error messages we're encountering:

Error Message from Chocolatey Command:

Choco command: choco install OfficeProPlus2013
Powershell script: GitHub - mallockey/Install-Office365Suite: A PowerShell script that installs Office 365 on a workstation

ERROR message from choco command:
choco install OfficeProPlus2013 --force
Chocolatey v2.2.2
Installing the following packages:
OfficeProPlus2013
By installing, you accept licenses for the packages.
Progress: Downloading OfficeProPlus2013 15.0.4827... 100%
OfficeProPlus2013 v15.0.4827 (forced) [Approved]
OfficeProPlus2013 package files install completed. Performing other installation steps.
Installing officeClickToRun...
officeClickToRun has been installed.
Installing officeClickToRun...
officeClickToRun has been installed.
Installing officeClickToRun...
WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). P
lease see MSI log if available. If not, try again adding '--install-arguments="'/lv c:\OfficeProPlus2013_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error.
ERROR: Running ["C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\office\setup.exe" /configure C:\ProgramData\chocolatey\lib\OfficeProPlus2013\tools\configuration.xml ] was not successful. Exit code was '1603'. Exit code ind
icates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already
installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l
v c:\OfficeProPlus2013_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error..
The install of OfficeProPlus2013 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\OfficeProPlus2013\tools\chocolateyinstall.ps1'.
See log for details.
Error message from powershell script:
PS C:\test> .\Install-Office365Suite.ps1
VERBOSE: Loading module from path 'C:\test\InstallOffice.psm1'.
VERBOSE: Exporting function 'Get-XMLFile'.
VERBOSE: Exporting function 'Get-ODTURL'.
VERBOSE: Importing function 'Get-ODTURL'.
VERBOSE: Importing function 'Get-XMLFile'.
VERBOSE: Downloading the Office Deployment Tool...
VERBOSE: GET https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_17328-20162.exe with 0-byte payload
VERBOSE: received 3813656-byte response of content type application/octet-stream
VERBOSE: Running the Office Deployment Tool...
VERBOSE: Downloading and installing Microsoft 365
WARNING: Microsoft 365 was not detected after the install ran

Your urgent assistance in resolving this matter. If possible, please provide guidance or steps to troubleshoot and resolve the installation issue.

Please reach out to MSI support to get this resolved. Not a trident issue. thanks.