Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

3,654,457

Downloads of v 16.0.13426.20308:

8,025

Last Update:

08 Dec 2020

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

office365 office 365 2019 deployment admin odt

Microsoft Office Deployment

This is not the latest version of Microsoft Office Deployment available.

  • 1
  • 2
  • 3

16.0.13426.20308 | Updated: 08 Dec 2020

Downloads:

3,654,457

Downloads of v 16.0.13426.20308:

8,025

Maintainer(s):

Software Author(s):

  • Microsoft

Microsoft Office Deployment 16.0.13426.20308

This is not the latest version of Microsoft Office Deployment available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Microsoft Office Deployment, run the following command from the command line or from PowerShell:

>

To upgrade Microsoft Office Deployment, run the following command from the command line or from PowerShell:

>

To uninstall Microsoft Office Deployment, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade microsoft-office-deployment -y --source="'INTERNAL REPO URL'" --version="'16.0.13426.20308'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade microsoft-office-deployment -y --source="'INTERNAL REPO URL'" --version="'16.0.13426.20308'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install microsoft-office-deployment
  win_chocolatey:
    name: microsoft-office-deployment
    version: '16.0.13426.20308'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'microsoft-office-deployment' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '16.0.13426.20308'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller microsoft-office-deployment
{
    Name     = "microsoft-office-deployment"
    Version  = "16.0.13426.20308"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'microsoft-office-deployment':
  ensure   => '16.0.13426.20308',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

WARNING

There are versions of this package awaiting moderation . See the Version History section below.

Package Approved

This package was approved as a trusted package on 08 Dec 2020.

Description

Installiert Microsoft Office 2019 und 365.

Package Parameters

  • /64bit to install Office 365 ProPlus 64-bit, otherwise it will default to 32-bit.
  • /DisableUpdate TRUE, FALSE
  • /Shared to install with Shared Computer Licensing for Remote Desktop Services.
  • /Channel Microsoft Docs
  • /Language default MatchOS MatchOS, ar-sa, bg-bg, zh-cn, zh-tw, hr-hr, cs-cz, da-dk, nl-nl, en-us, et-ee, fi-fi, fr-fr, de-de, el-gr, he-il, hi-in, hu-hu, id-id, it-it, ja-jp, kk-kz, ko-kr, lv-lv, lt-lt, ms-my, nb-no, pl-pl, pt-br, pt-pt, ro-ro, ru-ru, sr-latn-cs, sk-sk, sl-si, es-es, sv-se, th-th, tr-tr, uk-ua, vi-vn
  • /Product default HomeBusinessRetail Supportet PersonalRetail, ProPlusRetail, O365SmallBusPremRetail, O365BusinessRetail, O365ProPlusRetail, InfoPathRetail, SPDRetail, ProjectProRetail, VisioProRetail, LyncEntryRetail, LyncRetail, SkypeforBusiness, EntryRetail, SkypeforBusinessRetail, AccessRetail, Access2019Retail, Access2019Volume, ExcelRetail, Excel2019Retail, Excel2019Volume, HomeBusinessRetail, HomeBusiness2019Retail, HomeStudentRetail, HomeStudent2019Retail, O365HomePremRetail, OneNoteRetail, OutlookRetail, Outlook2019Retail, Outlook2019Volume, Personal2019Retail, PowerPointRetail, PowerPoint2019Retail, PowerPoint2019Volume, ProfessionalRetail, Professional2019Retail, ProjectProXVolume, ProjectPro2019Retail, ProjectPro2019Volume, ProjectStdRetail, ProjectStdXVolume, ProjectStd2019Retail, ProjectStd2019Volume, ProPlus2019Volume, PublisherRetail, Publisher2019Retail, Publisher2019Volume, Standard2019Volume, VisioProXVolume, VisioPro2019Retail, VisioPro2019Volume, VisioStdRetail, VisioStdXVolume, VisioStd2019Retail, VisioStd2019Volume, WordRetail, Word2019Retail, Word2019Volume
  • /Exclude Publisher, PowerPoint, OneDrive, Outlook, OneNote, Lync, Groove, Excel, Access, Word

tools\chocolateyinstall.ps1
# microsoft-office-deployment install

$ErrorActionPreference = 'Stop';
$PackageParameters = Get-PackageParameters

$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"
$urlPackage = 'https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_13426-20308.exe'
$checksumPackage = '1aa32215d2f63f0cb2aeab09dbc26cdcecb2314947f67844329994d3f77f3e36d1b81aae192e6f22480e50ca7a7924e89da862b5387c5cc0c4959d928c95e209'
$checksumTypePackage = 'SHA512'

$binDir = "$($toolsDir)\..\bin"
$logDir = "$($toolsDir)\..\logs"

$arch = 32
$sharedMachine = 0
$languages = "MatchOS"
$products = "HomeBusinessRetail" 
$updates = "TRUE"

if ($PackageParameters) {

    if ($PackageParameters["64bit"]) {
        Write-Host "Installing 64-bit version."
        $arch = 64
    }
    else {
        Write-Host "Installing 32-bit version."
    }

    if ($PackageParameters["DisableUpdate"]) {
        Write-Host "Update Disabled"
        $updates = "FALSE"
    }

    if ($PackageParameters["Shared"]) {
        Write-Host "Installing with Shared Computer Licensing for Remote Desktop Services."
        $sharedMachine = 1
    }

    if ($PackageParameters["Channel"]) {
        Write-Host "The following update channel has been selected $($PackageParameters["Channel"])"
        $channel = $PackageParameters["Channel"]
    }

    if ($PackageParameters["Language"]) {
        $languages = $PackageParameters["Language"].split(",")
        foreach ($language in $languages) {
            if (Get-Content "$($toolsDir)\lists\languagesList.txt" | Select-String $language) {
                Write-Host "Installing language variant $($language)"                 
            }
            else {
                if ($language.Count -gt 1 ) {
                    Write-Warning "$($language) not found"
                    $languages = $languages -ne $language
                }            
            }
        }
    }

    if ($PackageParameters["Product"]) {        
        $products = $PackageParameters["Product"].split(",")
        foreach ($product in $products) {
            if (Get-Content "$($toolsDir)\lists\officeList.txt" | Select-String $product) {
                Write-Host "Installation Product $($product)"                 
            }
            else {
                if ($products.Count -gt 1 ) {
                    Write-Warning "$($product) not found"
                    $products = $products -ne $product
                }
                else {
                    Write-Warning "$($product) not found we installed HomeBusinessRetail"
                    $products = "HomeBusinessRetail"
                }              
            }
        }
    }

    if ($PackageParameters["Exclude"]) {        
        $excludes = $PackageParameters["Exclude"].split(",")
        foreach ($exclude in $excludes) {
            if (Get-Content "$($toolsDir)\lists\excludeList.txt" | Select-String $exclude) {
                Write-Host "Excluded $($exclude)"                 
            }
            else {
                if ($excludes.Count -gt 1 ) {
                    Write-Warning "$($exclude) not found"
                    $excludes = $excludes -ne $exclude
                }            
            }
        }
    }
}
else {
    Write-Debug "No Package Parameters Passed in"
    Write-Host "Installing 32-bit version."
    Write-Host "Installing language variant $languages."
    Write-Host "Installation Product $product"
}

Import-Module -Name "$($toolsDir)\helpers.ps1"

$packageArgs = @{
    packageName    = 'Office-Deployment-Tool'
    fileType       = 'EXE'
    url            = $urlPackage
    checksum       = $checksumPackage
    checksumType   = $checksumTypePackage
    silentArgs     = "/extract:$($binDir) /log:$($logDir)\Office-Deployment-Tool.log /quiet /norestart"
    validExitCodes = @(
        0, # success
        3010, # success, restart required
        2147781575, # pending restart required
        2147205120  # pending restart required for setup update
    )
}

Install-ChocolateyPackage @packageArgs

$installConfigData = @"
<Configuration>
    $(
        if($channel -ne $null){ 
    "<Add OfficeClientEdition=""$($arch)"" Channel=""$($channel)"">"
        } else {
    "<Add OfficeClientEdition=""$($arch)"">"
        }
    )
    $(
        foreach($product in $products) {
"           <Product ID=""$($product)"">"
        foreach($language in $languages) {
"`r`n           <Language ID=""$($language)"" />"

        }
        foreach($exclude in $excludes) {
"`r`n           <ExcludeApp ID=""$($exclude)"" />"

        }
"`r`n       </Product>"
        }
    )
    </Add>  
    $(
        if($channel -ne $null){ 
    "<Updates Enabled=""$($updates)"" Channel=""$($channel)"" />"
        } else  {
    "<Updates Enabled=""$($updates)"" />"
        }
    )
    <Display Level="None" AcceptEULA="TRUE" />  
    <Logging Level="Standard" Path="$logDir" /> 
    <Property Name="SharedComputerLicensing" Value="$sharedMachine" />  
</Configuration>
"@
 
$uninstallConfigData = @"
<Configuration>
    <Remove>
    $(
        foreach($product in $products) {
"           <Product ID=""$($product)"">"
"`r`n       </Product>"
        }
    )
    </Remove>
    <Display Level="None" AcceptEULA="TRUE" />  
    <Logging Level="Standard" Path="$logDir" /> 
    <Property Name="FORCEAPPSHUTDOWN" Value="True" />
</Configuration>
"@

$installConfigData | Out-File "$($binDir)\Install.xml"
$uninstallConfigData | Out-File "$($binDir)\Uninstall.xml"
 
$packageArgs = @{
    packageName    = $env:ChocolateyPackageName
    fileType       = 'EXE'
    file           = "$($binDir)\setup.exe"
    checksum       = '53CA42D6EEDB08AD3EFF2EB51E720673C3842C24D36B334FCA7358CE6AC19007'
    checksumType   = 'sha256'
    silentArgs     = "/configure $($binDir)\Install.xml"
    validExitCodes = @(
        0, # success
        3010, # success, restart required
        2147781575, # pending restart required
        2147205120  # pending restart required for setup update
    )
}

Install-ChocolateyInstallPackage @packageArgs
tools\chocolateyuninstall.ps1
# microsoft-office-deployment uninstall

$ErrorActionPreference = 'Stop';

$packageArgs = @{
    packageName    = $env:ChocolateyPackageName
    softwareName   = ''
    fileType       = ''
    silentArgs     = ''
    validExitCodes = @(0, 3010, 1605, 1614, 1641)
}

if ($key.Count -eq 1) {
    $key | ForEach-Object {
        $packageArgs['file'] = "$($_.UninstallString)"
        if ($packageArgs['fileType'] -eq 'MSI') {
          $packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
          $packageArgs['file'] = ''
        }
        Uninstall-ChocolateyPackage @packageArgs
    }
} elseif ($key.Count -eq 0) {
    Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
    Write-Warning "$($key.Count) matches found!"
    Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
    Write-Warning "Please alert package maintainer the following keys were matched:"
    $key | ForEach-Object {Write-Warning "- $($_.DisplayName)"}
}

# Custome Settings from Package
## Remove files and folders
if (Get-Item -Path "<Path>" -ErrorAction SilentlyContinue) {
    Remove-Item `
        -Path "<Path>" `
        -Recurse
    Write-Output `
        -InputObject "Remove Shortcut <Path>"
}
tools\helpers.ps1
function Test-RegistryValue {

    param (
        [parameter(Mandatory=$true)][ValidateNotNullOrEmpty()]$Path,
        [parameter(Mandatory=$true)][ValidateNotNullOrEmpty()]$Value
    )

    try {
        Get-ItemProperty -Path $Path | Select-Object -ExpandProperty $Value -ErrorAction Stop | Out-Null
        return $true
    } catch {
        return $false
    }

}
tools\lists\excludeList.txt
Access
Excel
Lync
OneDrive (Groove)
Skype for Business
OneDrive Desktop
OneNote 2016
Outlook
PowerPoint
Publisher
Teams
Word
tools\lists\languagesList.txt
MatchOS
ar-sa
bg-bg
zh-cn
zh-tw
hr-hr
cs-cz
da-dk
nl-nl
en-us
et-ee
fi-fi
fr-fr
de-de
el-gr
he-il
hi-in
hu-hu
id-id
it-it
ja-jp
kk-kz
ko-kr
lv-lv
lt-lt
ms-my
nb-no
pl-pl
pt-br
pt-pt
ro-ro
ru-ru
sr-latn-cs
sk-sk
sl-si
es-es
sv-se
th-th
tr-tr
uk-ua
vi-vn
tools\lists\officeList.txt
PersonalRetail
ProPlusRetail
O365SmallBusPremRetail
O365BusinessRetail
O365ProPlusRetail
InfoPathRetail
SPDRetail
ProjectProRetail
VisioProRetail
LyncEntryRetail
LyncRetail
SkypeforBusinessEntryRetail
SkypeforBusinessRetail
AccessRetail
Access2019Retail
Access2019Volume
ExcelRetail
Excel2019Retail
Excel2019Volume
HomeBusinessRetail
HomeBusiness2019Retail
HomeStudentRetail
HomeStudent2019Retail
O365HomePremRetail
OneNoteRetail
OutlookRetail
Outlook2019Retail
Outlook2019Volume
Personal2019Retail
PowerPointRetail
PowerPoint2019Retail
PowerPoint2019Volume
ProfessionalRetail
Professional2019Retail
ProjectProXVolume
ProjectPro2019Retail
ProjectPro2019Volume
ProjectStdRetail
ProjectStdXVolume
ProjectStd2019Retail
ProjectStd2019Volume
ProPlus2019Volume
PublisherRetail
Publisher2019Retail
Publisher2019Volume
Standard2019Volume
VisioProXVolume
VisioPro2019Retail
VisioPro2019Volume
VisioStdRetail
VisioStdXVolume
VisioStd2019Retail
VisioStd2019Volume
WordRetail
Word2019Retail
Word2019Volume

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Microsoft Office Deployment 16.0.17328.20162 108 Thursday, March 7, 2024
Waiting for Maintainer
gravatar
Microsoft Office Deployment 16.0.16731.20398 257558 Wednesday, November 22, 2023 Approved
Microsoft Office Deployment 16.0.16731.20354 1230784 Tuesday, October 24, 2023 Approved
Microsoft Office Deployment 16.0.16731.20290 515092 Saturday, September 30, 2023 Approved
Microsoft Office Deployment 16.0.16626.20148 65260 Wednesday, August 2, 2023 Approved
Microsoft Office Deployment 16.0.16529.20182 18679 Saturday, July 15, 2023 Approved
Microsoft Office Deployment 16.0.16501.20196 22015 Tuesday, June 13, 2023 Approved
Microsoft Office Deployment 16.0.16227.20258 88367 Wednesday, April 12, 2023 Approved
Microsoft Office Deployment 16.0.15726.20202 106710 Friday, December 9, 2022 Approved
Microsoft Office Deployment 16.0.15225.20204 370857 Wednesday, June 15, 2022 Approved
Microsoft Office Deployment 16.0.15128.20224 107859 Friday, May 13, 2022 Approved
Microsoft Office Deployment 16.0.15028.20242 35276 Saturday, April 30, 2022 Approved
Microsoft Office Deployment 16.0.15028.20160 39726 Wednesday, April 13, 2022 Approved
Microsoft Office Deployment 16.0.14931.20120 89980 Wednesday, March 9, 2022 Approved
Microsoft Office Deployment 16.0.14729.20229 29961 Monday, February 28, 2022 Approved
Microsoft Office Deployment 16.0.14729.20228 100101 Saturday, January 15, 2022 Approved
Microsoft Office Deployment 16.0.14527.20178 64457 Monday, November 29, 2021 Approved
Microsoft Office Deployment 16.0.14026.20254 185029 Tuesday, June 8, 2021 Approved
Microsoft Office Deployment 16.0.13929.20296 24609 Tuesday, May 11, 2021 Approved
Microsoft Office Deployment 16.0.13901.20336 9528 Monday, April 26, 2021 Approved
Microsoft Office Deployment 16.0.13801.20360 15874 Wednesday, March 24, 2021 Approved
Microsoft Office Deployment 16.0.13628.20274 16652 Wednesday, February 10, 2021 Approved
Microsoft Office Deployment 16.0.13530.20376 14434 Wednesday, January 13, 2021 Approved
Microsoft Office Deployment 16.0.13426.20370 10287 Tuesday, December 22, 2020 Approved
Microsoft Office Deployment 16.0.13426.20308 8025 Tuesday, December 8, 2020 Approved
Microsoft Office Deployment 16.0.13328.20420 8298 Tuesday, November 24, 2020 Approved
Microsoft Office Deployment 16.0.13231.20368 19180 Thursday, October 15, 2020 Approved
Microsoft Office Deployment 16.0.12827.20268 48455 Wednesday, June 10, 2020 Approved
Microsoft Office Deployment 16.0.12624.20320 21775 Thursday, April 16, 2020 Approved
Microsoft Office Deployment 16.0.12325.20288 15664 Saturday, January 18, 2020 Approved
Microsoft Office Deployment 16.0.12130.20273 2133 Wednesday, January 8, 2020 Approved
Microsoft Office Deployment 16.0.11901.20022 12082 Thursday, August 15, 2019 Approved
Microsoft Office Deployment 16.0.11509.33604 6851 Tuesday, March 19, 2019 Approved
Microsoft Office Deployment 16.0.11306.33602 1184 Friday, January 25, 2019 Approved
Microsoft Office Deployment 16.0.11107.33603 591 Thursday, December 20, 2018 Approved
Microsoft Office Deployment 16.0.11107.33602 635 Tuesday, November 13, 2018 Approved
Microsoft Office Deployment 16.0.11023.33600 431 Sunday, October 28, 2018 Approved
Microsoft Office Deployment 16.0.10810.33603 414 Thursday, August 30, 2018 Approved

This package has no dependencies.

Discussion for the Microsoft Office Deployment Package

Ground Rules:

  • This discussion is only about Microsoft Office Deployment and the Microsoft Office Deployment package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Microsoft Office Deployment, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus