Downloads:

1,092,486

Downloads of v 16.0.14931.20120:

89,916

Last Update:

09 Mar 2022

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.14931.20120 | Updated: 09 Mar 2022

Downloads:

1,092,486

Downloads of v 16.0.14931.20120:

89,916

Maintainer(s):

Software Author(s):

  • Microsoft

  • 1
  • 2
  • 3
Microsoft Office Deployment 16.0.14931.20120

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

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

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.14931.20120'" [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.14931.20120'" 
$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.14931.20120'
    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.14931.20120'
end

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


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

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


package { 'microsoft-office-deployment':
  ensure   => '16.0.14931.20120',
  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.

This package was approved as a trusted package on 09 Mar 2022.

Description

Installs Microsoft Office Products.

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 Supported PersonalRetail, ProPlusRetail, O365SmallBusPremRetail, O365BusinessRetail, O365ProPlusRetail, InfoPathRetail, SPDRetail, ProjectProRetail, VisioProRetail, LyncEntryRetail, LyncRetail, SkypeforBusiness, EntryRetail, SkypeforBusinessRetail, AccessRetail, Access2019Retail, Access2019Volume, Access2021Volume, ExcelRetail, Excel2019Retail, Excel2019Volume, Excel2021Volume, HomeBusinessRetail, HomeBusiness2019Retail, HomeStudentRetail, HomeStudent2019Retail, O365HomePremRetail, OneNoteRetail, OneNote2021Volume, OutlookRetail, Outlook2019Retail, Outlook2019Volume, Outlook2021Volume, Personal2019Retail, PowerPointRetail, PowerPoint2019Retail, PowerPoint2019Volume, PowerPoint2021Volume, ProfessionalRetail, Professional2019Retail, ProjectProXVolume, ProjectPro2019Retail, ProjectPro2019Volume, ProjectPro2021Volume, ProjectStdRetail, ProjectStdXVolume, ProjectStd2019Retail, ProjectStd2019Volume, ProjectStd2021Volume, ProPlus2019Volume, ProPlus2021Volume, ProPlusSPLA2021Volume, PublisherRetail, Publisher2019Retail, Publisher2019Volume, Publisher2021Volume, Standard2019Volume, Standard2021Volume, StandardSPLA2021Volume, VisioProXVolume, VisioPro2019Retail, VisioPro2019Volume, VisioPro2021Volume, VisioStdRetail, VisioStdXVolume, VisioStd2019Retail, VisioStd2019Volume, VisioStd2021Volume, WordRetail, Word2019Retail, Word2019Volume, Word2021Volume
  • /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_14931-20120.exe'
$checksumPackage = '4d3ebb9edbbc9f2b65759784e3efaf4e02ea00db2f5646cb1fef9c4fe3e5ef61eb2500210cb9e45997811e00c3fa4f524ad4467eee40f4517929958cd2c98762'
$checksumTypePackage = 'SHA512'

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

$arch = 32
$sharedMachine = 0
$languages = "MatchOS"
$products = "HomeBusinessRetail" 
$updates = "TRUE"
$ProofingToolLanguages [email protected]()

if ($PackageParameters) {

    if ($PackageParameters["XMLfile"]) {
        Write-Host "Installing using XMLfile."
        if (test-path $PackageParameters["XMLfile"]) {
            $installConfigData = Get-Content $PackageParameters["XMLfile"]
        }
        else {
            throw (new-object System.IO.FileNotFoundException)
        }
    }
    else {

        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["RemoveMSI"]) {
            Write-Host "Removing existing MSI versions of Office."
        }
    
        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)" 
                }
            }
        }

        if ($PackageParameters["ProofingToolLanguage"]) {
            $ProofingToolLanguages = $PackageParameters["ProofingToolLanguage"].split(",")
            foreach ($language in $ProofingToolLanguages) {
                if (Get-Content "$($toolsDir)\lists\ProoflanguagesList.txt" | Select-String $language) {
                    Write-Host "Installing Proofing Tools language variant $($language)"                 
                }
                else {
                    if ($language.Count -gt 1 ) {
                        Write-Warning "$($language) not found"
                        $ProofingToolLanguages = $ProofingToolLanguages -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 {
                        if ($language.Count -gt 1 ) {
                            Write-Warning "$($language) not found"
                            $languages = $languages -ne $language
                        }            
                    }
                }
            }
        }
            
        if ($PackageParameters["LicenseKey"]) {
            $pidkey = $PackageParameters["LicenseKey"]
            Write-Host "Installing with a License Key"
        }

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

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

        }
"`r`n       </Product>"
        }
        if ($ProofingToolLanguages.Count -gt 0)
        {
"`r`n       <Product ID=""ProofingTools"">"
            foreach($prooflanguage in $ProofingToolLanguages) {
"`r`n           <Language ID=""$($prooflanguage)"" />"

            }
"`r`n       </Product>"
        }
    )
    </Add>  
    $(
        if($channel -ne $null){ 
    "<Updates Enabled=""$($updates)"" Channel=""$($channel)"" />"
        } else  {
    "<Updates Enabled=""$($updates)"" />"
        }
    )
    $(
        if($PackageParameters["RemoveMSI"]){
            "<RemoveMSI />"
        }
    )
    <Display Level="None" AcceptEULA="TRUE" />  
    <Logging Level="Standard" Path="$logDir" /> 
    <Property Name="SharedComputerLicensing" Value="$sharedMachine" />  
</Configuration>
"@
}
 
$uninstallConfigData = @"
<Configuration>
    <Remove>
    $(
        foreach($product in $products) {
"`r`n       <Product ID=""$($product)"">"
"`r`n       </Product>"
        }
        if ($ProofingToolLanguages.Count -gt 0)
        {
"`r`n       <Product ID=""ProofingTools"">"
"`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
OneDrive
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
Access2021Volume
ExcelRetail
Excel2019Retail
Excel2019Volume
Excel2021Volume
HomeBusinessRetail
HomeBusiness2019Retail
HomeStudentRetail
HomeStudent2019Retail
O365HomePremRetail
OneNoteRetail
OneNote2021Volume
OutlookRetail
Outlook2019Retail
Outlook2019Volume
Outlook2021Volume
Personal2019Retail
PowerPointRetail
PowerPoint2019Retail
PowerPoint2019Volume
PowerPoint2021Volume
ProfessionalRetail
Professional2019Retail
ProjectProXVolume
ProjectPro2019Retail
ProjectPro2019Volume
ProjectPro2021Volume
ProjectStdRetail
ProjectStdXVolume
ProjectStd2019Retail
ProjectStd2019Volume
ProjectStd2021Volume
ProPlus2019Volume
ProPlus2021Volume
ProPlusSPLA2021Volume
PublisherRetail
Publisher2019Retail
Publisher2019Volume
Publisher2021Volume
Standard2019Volume
Standard2021Volume
StandardSPLA2021Volume
VisioProXVolume
VisioPro2019Retail
VisioPro2019Volume
VisioPro2021Volume
VisioStdRetail
VisioStdXVolume
VisioStd2019Retail
VisioStd2019Volume
VisioStd2021Volume
WordRetail
Word2019Retail
Word2019Volume
Word2021Volume
tools\lists\ProofLanguagesList.txt
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

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.15128.20224 107158 Friday, May 13, 2022 Approved
Microsoft Office Deployment 16.0.15028.20242 35201 Saturday, April 30, 2022 Approved
Microsoft Office Deployment 16.0.15028.20160 39645 Wednesday, April 13, 2022 Approved
Microsoft Office Deployment 16.0.14931.20120 89916 Wednesday, March 9, 2022 Approved
Microsoft Office Deployment 16.0.14729.20229 29868 Monday, February 28, 2022 Approved
Microsoft Office Deployment 16.0.14729.20228 99918 Saturday, January 15, 2022 Approved
Microsoft Office Deployment 16.0.14527.20178 64264 Monday, November 29, 2021 Approved
Microsoft Office Deployment 16.0.14026.20254 184934 Tuesday, June 8, 2021 Approved
Microsoft Office Deployment 16.0.13929.20296 24538 Tuesday, May 11, 2021 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