Downloads:

253,054

Downloads of v 2016.20190418:

102,354

Last Update:

4/18/2019

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

Office365ProPlus Office MSOffice MicrosoftOffice

Office 365 ProPlus

2016.20190418 | Updated: 4/18/2019

Downloads:

253,054

Downloads of v 2016.20190418:

102,354

Maintainer(s):

Software Author(s):

  • Microsoft

Office 365 ProPlus 2016.20190418

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Office 365 ProPlus, run the following command from the command line or from PowerShell:

>

To upgrade Office 365 ProPlus, run the following command from the command line or from PowerShell:

>

To uninstall Office 365 ProPlus, run the following command from the command line or from PowerShell:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade office365proplus -y --source="'STEP 3 URL'" [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 office365proplus -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure office365proplus installed
  win_chocolatey:
    name: office365proplus
    state: present
    version: 2016.20190418
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'office365proplus' do
  action    :install
  version  '2016.20190418'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: office365proplus,
    Version: 2016.20190418,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller office365proplus
{
   Name     = 'office365proplus'
   Ensure   = 'Present'
   Version  = '2016.20190418'
   Source   = 'STEP 3 URL'
}

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


package { 'office365proplus':
  provider => 'chocolatey',
  ensure   => '2016.20190418',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install office365proplus version="2016.20190418" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 8/5/2019.

Description

Package parameters

  • /ConfigPath - (optional) Full path to custom install configuration.
    Example: choco install office365proplus --params '/ConfigPath:c:\myConfig.xml

  • /Language - (optional) The installation language. Defaults to match your OS language. List of possible languages
    Example: choco install office365proplus --params '/Language:de-de'

Get the latest versions of your familiar Office programs, such as Word, Excel and PowerPoint, and more, all in one convenient
subscription. This will download and silently install the entire Office 365 2016 Professional Plus edition. A license is required
and you will be prompted to enter your account information upon first launching the software after install.


chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'
$script                     = $MyInvocation.MyCommand.Definition
$configFile                 = Join-Path $(Split-Path -parent $script) 'configuration.xml'
$configFile64               = Join-Path $(Split-Path -parent $script) 'configuration64.xml'
$forceX86                   = $env:chocolateyForceX86
$configurationFile          = if ($BitCheck -eq 32 -Or $forceX86) { $configFile } else { $configFile64 }

$pp = Get-PackageParameters
$configPath = $pp["ConfigPath"]
$language = $pp["Language"]

if ($configPath)
{
    Write-Output "Custom config specified: $configPath"
    $configurationFile = $configPath
}
elseif ($language)
{
    Write-Output "Language specified: $language"
    
    $file = $configFile
    $x = [xml] (Get-Content $file)
    $nodes = $x.SelectNodes("/Configuration/Add/Product/Language")
    foreach($node in $nodes) {
        $node.SetAttribute("ID", $language)
    }
    $x.Save($file)
    
    $file = $configFile64
    $x = [xml] (Get-Content $file)
    $nodes = $x.SelectNodes("/Configuration/Add/Product/Language")
    foreach($node in $nodes) {
        $node.SetAttribute("ID", $language)
    }
    $x.Save($file)
}
else
{
    Write-Output 'No custom configuration specified.'
    Write-Output 'No language specified. Defaulting to OS language.'
}

$packageName                = 'Office365ProPlus'
$bitCheck                   = Get-ProcessorBits
$officetempfolder           = Join-Path $env:Temp 'chocolatey\Office365ProPlus'
$packageArgs                = @{
    packageName             = 'Office365DeploymentTool'
    fileType                = 'exe'
    url                     = 'https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_11509-33604.exe'
    checksum                = '450F28E924CFE1931883EE7DE2EA7252D0E03B770742258D4D9CED43718C3897'
    checksumType            = 'sha256'
    softwareName            = 'Microsoft Office 365 ProPlus*'
    silentArgs              = "/extract:`"$officetempfolder`" /log:`"$officetempfolder\OfficeInstall.log`" /quiet /norestart"
    validExitCodes          = @(
        0, # success
        3010, # success, restart required
        2147781575, # pending restart required
        2147205120  # pending restart required for setup update
    )
}

# Download and install the deployment tool
Install-ChocolateyPackage @packageArgs

# Use the deployment tool to download the setup files
$packageArgs['packageName'] = 'Office365ProPlusInstaller'
$packageArgs['file'] = "$officetempfolder\Setup.exe"
$packageArgs['silentArgs'] = "/download $configurationFile `"$officetempfolder\setup.exe`""
Install-ChocolateyInstallPackage @packageArgs

# Run the actual Office setup
$packageArgs['file'] = "$officetempfolder\Setup.exe"
$packageArgs['packageName'] = $packageName
$packageArgs['silentArgs'] = "/configure $configurationFile"
Install-ChocolateyInstallPackage @packageArgs

if (Test-Path "$officetempfolder") {
    Remove-Item -Recurse "$officetempfolder"
}
configuration.xml
<Configuration>
    <Add OfficeClientEdition="32" >
        <Product ID="O365ProPlusRetail">
            <Language ID="MatchOS" />
        </Product>
    </Add>
    <Updates Enabled="TRUE" />
    <Display Level="None" AcceptEULA="TRUE" />
    <Logging Path="%temp%" />
</Configuration>
configuration64.xml
<Configuration>
    <Add OfficeClientEdition="64" >
        <Product ID="O365ProPlusRetail">
            <Language ID="MatchOS" />
        </Product>
    </Add>
    <Updates Enabled="TRUE" />
    <Display Level="None" AcceptEULA="TRUE" />
    <Logging Path="%temp%" />
</Configuration>

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.

Version Downloads Last Updated Status
Office 365 ProPlus 2016.20190301 23512 Friday, March 1, 2019 Approved
Office 365 ProPlus 2016.20190220 1625 Wednesday, February 20, 2019 Approved
Office 365 ProPlus 2016.20181114 16610 Wednesday, November 14, 2018 Approved
Office 365 ProPlus 2016.20181101 3392 Thursday, November 1, 2018 Approved
Office 365 ProPlus 2016.20180721 34592 Sunday, July 22, 2018 Approved
Office 365 ProPlus 2016.20180704 5227 Wednesday, July 4, 2018 Approved
Office 365 ProPlus 2016.20180605 2756 Monday, June 11, 2018 Approved
Office365ProPlus 2016.20170321 18435 Tuesday, March 28, 2017 Approved
Office365ProPlus 2016.20160828 40153 Monday, August 29, 2016 Approved

This package has no dependencies.

Discussion for the Office 365 ProPlus Package

Ground Rules:

  • This discussion is only about Office 365 ProPlus and the Office 365 ProPlus 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 Office 365 ProPlus, 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