Downloads:

6,406

Downloads of v 16.0.7614.3602:

5,926

Last Update:

11/28/2016

Package Maintainer(s):

Software Author(s):

  • hambone

Tags:

office365 Office 365 2016 deployment admin

Office365 2016 Deployment Tool

16.0.7614.3602 | Updated: 11/28/2016

Downloads:

6,406

Downloads of v 16.0.7614.3602:

5,926

Maintainer(s):

Software Author(s):

  • hambone

Office365 2016 Deployment Tool 16.0.7614.3602

Some Checks Have Failed or Are Not Yet Complete

1 Test Passing and 1 Failing Test


Validation Testing Passed


Verification Testing Failed

Details

To install Office365 2016 Deployment Tool, run the following command from the command line or from PowerShell:

>

To upgrade Office365 2016 Deployment Tool, run the following command from the command line or from PowerShell:

>

To uninstall Office365 2016 Deployment Tool, 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 office365-2016-deployment-tool -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 office365-2016-deployment-tool -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 office365-2016-deployment-tool installed
  win_chocolatey:
    name: office365-2016-deployment-tool
    state: present
    version: 16.0.7614.3602
    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 'office365-2016-deployment-tool' do
  action    :install
  version  '16.0.7614.3602'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: office365-2016-deployment-tool,
    Version: 16.0.7614.3602,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller office365-2016-deployment-tool
{
   Name     = 'office365-2016-deployment-tool'
   Ensure   = 'Present'
   Version  = '16.0.7614.3602'
   Source   = 'STEP 3 URL'
}

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


package { 'office365-2016-deployment-tool':
  provider => 'chocolatey',
  ensure   => '16.0.7614.3602',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install office365-2016-deployment-tool version="16.0.7614.3602" 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.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator flcdrg on 11/29/2016.

Description

The Office 2016 Deployment Tool allows the administrator to customize and manage Office 2016 Click-to-Run deployments. This tool will help adminstrators to manage installations sources, product/language combinations, and deployment configuration options for Office Click-to-Run.

Arguments can be passed to the package using:

-packageParameters= "args"

Current options are:

  • /64bit to install Office 365 ProPlus 64-bit, otherwise it will default to 32-bit.
  • /Shared to install with Shared Computer Licensing for Remote Desktop Services.
  • /LogPath:'C:\Path\to\log\' to specify a log location. Defaults to %PATH% if not defined.

Example 1

choco install office365-2016-deployment-tool

This will install Office365 2016 32-bit for a single user. Logs will be in %PATH%.

Example 2

choco install office365-2016-deployment-tool -packageParameters "/64bit /Shared /LogPath:'C:\logs\'"

This will install Office365 2016 64-bit for a Remote Desktop Server and log the output to C:\logs.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$packageName = 'office365-2016-deployment-tool'
$packageVersion = "16.0.7614.3602"

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_7614-3602.exe' # download url
$installConfigFileLocation = $(Join-Path $toolsDir 'install.xml')
$uninstallConfigFileLocation = $(Join-Path $toolsDir 'uninstall.xml')
$ignoreExtractFile = "officedeploymenttool.exe.ignore"
$ignoreSetupFile = "setup.exe.ignore"
$checksum = "CB9B41ABF4C3D67D082BA534F757A0C84F7CA4AF89D77590CC58290B7C875F5E"

# Argument defaults
$arch = 32
$sharedMachine = 0
$logPath = "%TEMP%"

$arguments = @{}

$packageParameters = $env:chocolateyPackageParameters

if ($packageParameters) {
    $match_pattern = "\/(?<option>([a-zA-Z]+)):(?<value>([`"'])?([a-zA-Z0-9- _\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z0-9]+))"
    $option_name = 'option'
    $value_name = 'value'

    if ($packageParameters -match $match_pattern ){
        $results = $packageParameters | Select-String $match_pattern -AllMatches
        $results.matches | % {
            $arguments.Add(
                $_.Groups[$option_name].Value.Trim(),
                $_.Groups[$value_name].Value.Trim())
        }
    }
    else
    {
        Throw "Package Parameters were found but were invalid (REGEX Failure)"
    }

    if ($arguments.ContainsKey("64bit")) {
        Write-Host "Installing 64-bit version."
        $arch = 64
    } else {
        Write-Host "Installing 32-bit version."
    }

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

    if ($arguments.ContainsKey("LogPath")) {
        Write-Host "Installation log in directory $($arguments['LogPath'])"
        $logPath = $arguments["LogPath"]
    }

} else {
    Write-Debug "No Package Parameters Passed in"
    Write-Host "Installing 32-bit version."
    Write-Host "Installation log in directory %TEMP%"
}

function Get-PreInstalledOfficeVersionArch () {
    $installedVersion = $null
    $installedArch = $null
    
    $installedOffice32 = Get-ChildItem "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" | `
        foreach { Get-ItemProperty $_.PSPath } | `
        Where-Object { $_ -match "Microsoft Office*" }

    $installedOffice64 = Get-ChildItem "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" | `
        foreach { Get-ItemProperty $_.PSPath } | `
        Where-Object { $_ -match "Microsoft Office*" }

    if ($installedOffice32) {
        $installedArch = 32
        [int]$installedVersion = $installedOffice32.DisplayVersion.Split(".")[0]
    } elseif ($installedOffice64) {
        $installedArch = 32
        [int]$installedVersion = $installedOffice64.DisplayVersion.Split(".")[0]
    }

    $officeVersionArch = @{"Version" = $installedVersion; "Architecture" = $installedArch}

    return $officeVersionArch
}

$PreinstalledOfficeVersionArch = Get-PreInstalledOfficeVersionArch

if ($PreinstalledOfficeVersionArch.Version -ne $null) {
    if ($PreinstalledOfficeVersionArch.Version -eq $packageVersion.Split(".")[0]) {
        Write-Error "This version of Office is already installed. Please uninstall prior installations to continue."
    } 
    if ($PreinstalledOfficeVersionArch.Architecture -ne $arch) {
        Write-Error "$($PreinstalledOfficeVersionArch.Architecture)-bit Office previously installed. `
        Cannot install Office $arch-bit without removing Office $($PreinstalledOfficeVersionArch.Architecture)-bit first."
    }
}

$installConfigData = @"
<Configuration>
  <Add OfficeClientEdition="$arch">
    <Product ID="O365ProPlusRetail">
      <Language ID="en-us" />
    </Product>
  </Add>  
  <Display Level="None" AcceptEULA="TRUE" />  
  <Logging Level="Standard" Path="$logPath" /> 
  <Property Name="SharedComputerLicensing" Value="$sharedMachine" />  
</Configuration>
"@

$uninstallConfigData = @"
<Configuration>
  <Remove>
    <Product ID="O365ProPlusRetail">
      <Language ID="en-us" />
    </Product>
  </Remove>
  <Display Level="None" AcceptEULA="TRUE" />  
  <Logging Level="Standard" Path="$logPath" /> 
  <Property Name="FORCEAPPSHUTDOWN" Value="True" />
</Configuration>
"@

$installConfigData | Out-File $installConfigFileLocation
$uninstallConfigData | Out-File $uninstallConfigFileLocation

New-Item -Path $toolsDir -Name $ignoreSetupFile -ItemType File
New-Item -Path $toolsDir -Name $ignoreExtractFile -ItemType File

$extractPackage = Get-ChocolateyWebFile -PackageName $packageName -FileFullPath "$toolsDir\officedeploymenttool.exe" -Url $url -Checksum $checksum -ChecksumType SHA256

$statements = "/extract:$toolsDir /quiet /norestart"

$setupPackageArgs = @{
  packageName = $packageName
  fileType = 'EXE'
  file = $(Join-Path $toolsDir "setup.exe")
  silentArgs = "/configure $installconfigFileLocation"
}

Start-ChocolateyProcessAsAdmin -Statements "$statements" -ExeToRun $extractPackage

Install-ChocolateyInstallPackage @setupPackageArgs
tools\chocolateyuninstall.ps1
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$uninstallConfigFileLocation = $(Join-Path $toolsDir 'uninstall.xml')
$deploymentTool = $(Join-Path $toolsDir 'setup.exe')
$silentArgs = "/configure $uninstallConfigFileLocation"
$installerType = 'EXE'
$packageName = 'office365-2016-deployment-tool'

Uninstall-ChocolateyPackage -PackageName $packageName `
                            -FileType $installerType `
                            -SilentArgs "$silentArgs" `
                            -File "$deploymentTool"

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
Office365 2016 Deployment Tool 16.0.7213.5776 480 Wednesday, August 17, 2016 Approved
Discussion for the Office365 2016 Deployment Tool Package

Ground Rules:

  • This discussion is only about Office365 2016 Deployment Tool and the Office365 2016 Deployment Tool 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 Office365 2016 Deployment Tool, 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