Downloads:

2,903,514

Downloads of v 13901.20336:

232,429

Last Update:

17 Apr 2021

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

Office365Business Office 365 Bussines Microsoft365 admin

Office 365 Business

  • 1
  • 2
  • 3

13901.20336 | Updated: 17 Apr 2021

Downloads:

2,903,514

Downloads of v 13901.20336:

232,429

Maintainer(s):

Software Author(s):

  • Microsoft

  • 1
  • 2
  • 3
Office 365 Business 13901.20336

  • 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

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

>

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

>

To uninstall Office 365 Business, 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade office365business -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 office365business -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 office365business installed
  win_chocolatey:
    name: office365business
    state: present
    version: 13901.20336
    source: STEP 3 URL

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


chocolatey_package 'office365business' do
  action    :install
  version  '13901.20336'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: office365business,
    Version: 13901.20336,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller office365business
{
   Name     = 'office365business'
   Ensure   = 'Present'
   Version  = '13901.20336'
   Source   = 'STEP 3 URL'
}

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


package { 'office365business':
  provider => 'chocolatey',
  ensure   => '13901.20336',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install office365business version="13901.20336" 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 17 Apr 2021.

Description

Description

Microsoft 365 (formerly Office 365) is a line of subscription services offered by Microsoft as part of the Microsoft Office product line. The brand encompasses plans that allow use of the Microsoft Office software suite over the life of the subscription, as well as cloud-based software as a service products for business environments, such as hosted Exchange Server, Skype for Business Server, and SharePoint, among others. All Microsoft 365 plans include automatic updates to their respective software at no additional charge, as opposed to conventional licenses for these programs—where new versions require purchase of a new license.

This package installs the Microsoft 365 Business Retail edition with the language and architecture (32/64 bits) matching the device if not specified otherwise on the parameters.

Note

  • This installer will uninstall any other Office packages installed prior to installing this one to avoid possible errors during installation.
  • If you want to force the 32bit version on a 64bit Windows, use the choco --forcex86 parameter when installing the package.

Package installation defaults

By default, installation of this package:

  • Will uninstall other Microsoft 365 packages present on the device.
  • Will install with the matching the language of the operating system.
  • Will install the Microsoft 365 Business Retail product with all the default apps if not specified otherwise as a parameter.
  • Will set the release channel to Current.
  • Will enable auto-updates.

Package Parameters

  • /configpath - Allows you to specify a custom XML configuration for the installer which is present on the system.
  • /productid - Allows you to change the default product id to install from O365BusinessRetail to something else.
  • /exclude - Allows you to exclude some applications from the default product id you install.
  • /language - Allows you to specify a language different to the default one present on the device.
  • /updates - Enables auto-updates.
  • /eula - Automatically accepts EULA.

Installation

Installation without parameters with default values.

choco install office365business

Installation with parameters. Will select Microsoft 365 Home Premium retail edition in 32bits, only install Excel, Powerpoint and Word in French with updates disabled and EULA not accepted automatically.

 choco install office365business --forcex86 --params="/productid:O365HomePremRetail" /exclude:"Access Groove Lync OneDrive OneNote Outlook Publisher" /language:"fr-FR" /updates:"FALSE" /eula:"FALSE"

Disclaimer

These Chocolatey Packages only contain installation routines. The software itself is downloaded from the official sources of the software developer. The maintainers of this package have no affiliation with the software developer.

Author

License

This project is under the Apache License 2.0 License. See the LICENSE file for the full license text.

(c) 2020, Jordi Garcia


tools\chocolateyInstall.ps1
$packageName                = 'Office365Business'
$bitCheck                   = Get-ProcessorBits
$forceX86                   = $env:chocolateyForceX86
$arch                       = if ($BitCheck -eq 32 -Or $forceX86 ) {'32'} else {'64'}
$officetempfolder           = Join-Path $env:Temp 'Office365Business'
$configurationFile          = Join-Path $officetempfolder 'configuration.xml'
$defaultProductID           = 'O365BusinessRetail'
$defaultLanguageID          = 'MatchOS'
$defaultUpdates             = 'TRUE'
$defaulAcceptEULA           = 'TRUE'
$defaultExclude             = @()

$pp = Get-PackageParameters

if ($pp['configpath'])
{
    $configurationFile = $pp['configpath']
    Write-Output "Custom config specified: $configPath"
}
else
{
    Write-Output 'No custom configuration specified. Generating one...'

    if ($pp['productid']) {
        $paramProductID = $pp['productid']
        Write-Output "Custom Product ID specified: $paramProductID"
    }
    else {
        Write-Output "No Product ID specified, using default: $defaultProductID"
        $paramProductID = $defaultProductID
    }

    if ($pp['exclude']) {
        $paramExclude = $pp['exclude'].split(" ")
        Write-Output "The following apps will not be installed: $paramExclude"
    }
    else {
        Write-Output "No excluded apps specified, installing all"
        $paramExclude = $defaultExclude
    }

    if ($pp['language']) {
        $paramLanguageID = $pp['language']
        Write-Output "Custom Language ID specified: $paramLanguageID"
    }
    else {
        Write-Output "No Language ID specified, using default: $defaultLanguageID"
        $paramLanguageID = $defaultLanguageID
    }

    if ($pp['updates']) {
        $paramUpdate = $pp['updates']
        Write-Output "Custom updates value specified: $paramUpdate"
    }
    else {
        Write-Output "No updates value specified, using default: $defaultUpdates"
        $paramUpdate = $defaultUpdates
    }

    if ($pp['eula']) {
        $paramEula = $pp['updates']
        Write-Output "Custom updates value specified: $paramEula"
    }
    else {
        Write-Output "No updates value specified, using default: $defaulAcceptEULA"
        $paramEula = $defaulAcceptEULA
    }

    # Assign the CSV and XML Output File Paths
    $XML_Path = $configurationFile

    #create path
    if (-Not(Test-Path $officetempfolder)) {
        New-Item -ItemType Directory -Force -Path $officetempfolder
    }

    # Create the XML File Tags
    $xmlWriter = New-Object System.XMl.XmlTextWriter($XML_Path, $Null)
    $xmlWriter.Formatting = 'Indented'
    $xmlWriter.Indentation = 1
    $XmlWriter.IndentChar = "`t"
    $xmlWriter.WriteStartDocument()
    $xmlWriter.WriteComment('Office 365 client deployment configuration')
    $xmlWriter.WriteStartElement('Configuration')
    $xmlWriter.WriteEndElement()
    $xmlWriter.WriteEndDocument()
    $xmlWriter.Flush()
    $xmlWriter.Close()

    # Create the Initial  Node
    $xmlDoc = [System.Xml.XmlDocument](Get-Content $XML_Path);
    $addNode = $xmlDoc.CreateElement("Add")
    $xmlDoc.SelectSingleNode("//Configuration").AppendChild($addNode)
    $addNode.SetAttribute("OfficeClientEdition", "$arch")
    $addNode.SetAttribute("Channel", "Current")


    $productNode = $addNode.AppendChild($xmlDoc.CreateElement("Product"));
    $productNode.SetAttribute("ID", $paramProductID)


    $languageNode = $productNode.AppendChild($xmlDoc.CreateElement("Language"));
    $languageNode.SetAttribute("ID", $paramLanguageID)

    foreach ($ExcludeApp in $paramExclude) {
        $excludeNode = $productNode.AppendChild($xmlDoc.CreateElement("ExcludeApp"));
        $excludeNode.SetAttribute("ID", $ExcludeApp)
    }

    $updatesNode = $xmlDoc.CreateElement("Updates")
    $xmlDoc.SelectSingleNode("//Configuration").AppendChild($updatesNode)
    $updatesNode.SetAttribute("Enabled", $paramUpdate)

    $displayNode = $xmlDoc.CreateElement("Display")
    $xmlDoc.SelectSingleNode("//Configuration").AppendChild($displayNode)
    $displayNode.SetAttribute("Level", "None")
    $displayNode.SetAttribute("AcceptEULA", $paramEula)

    $loggingNode = $xmlDoc.CreateElement("Logging")
    $xmlDoc.SelectSingleNode("//Configuration").AppendChild($loggingNode)
    $loggingNode.SetAttribute("Path", "%temp%")

    $removeMSINode = $xmlDoc.CreateElement("RemoveMSI")
    $xmlDoc.SelectSingleNode("//Configuration").AppendChild($removeMSINode)
    $removeMSINode.SetAttribute("All", "TRUE")

    $xmlDoc.Save($XML_Path)
}

$packageArgs                = @{
    packageName             = 'Office365DeploymentTool'
    fileType                = 'exe'
    url                     = 'https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_13901-20336.exe'
    checksum                = '41acc3ed91cf3017702a543b52cd5050a2e0087ed805947d550f061ff52949ec'
    checksumType            = 'sha256'
    softwareName            = 'Office365Business*'
    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'] = 'Office365BusinessInstaller'
$packageArgs['file'] = "$officetempfolder\Setup.exe"
$packageArgs['silentArgs'] = "/download $configurationFile"
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"
}

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.

Version Downloads Last Updated Status
Office 365 Business 13530.20376 586701 Thursday, January 28, 2021 Approved
Office 365 Business 13426.203084.0.20201214 200857 Monday, January 4, 2021 Approved
Office 365 Business 13328.20292 354600 Sunday, November 1, 2020 Approved
Office 365 Business 12827.20268 571641 Wednesday, June 24, 2020 Approved
Office 365 Business 12130.20272.12312019 467332 Tuesday, December 31, 2019 Approved
Office 365 Business 12130.20272 18288 Saturday, December 21, 2019 Approved
Office 365 Business 11901.20022 114033 Thursday, October 17, 2019 Approved
Office 365 Business 11509.33604 216491 Tuesday, March 26, 2019 Approved

enable optional installation parameters


This package has no dependencies.

Discussion for the Office 365 Business Package

Ground Rules:

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