Notices: This section not yet converted to new layout. Download stats are rolling back out.

Adobe Acrobat Reader DC

2019.012.20040

This package skips automatic verification:

Package requires reboot due to KB2919355


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

This package installs/upgrades the Multi-lingual ("MUI") release. In some cases, this package will be able to install over the top of a language-specific installation. Otherwise, this package will exit and require a manual uninstall of the language specific installation.

Note

If the package fails on Windows 8.1 or earlier, this might be due to the installation of kb2919355 (which is a dependency of this package) if your system is not up-to-date. This KB requires a reboot of the system before the adobereader package installs successfully.

Package installation defaults

By default, installation of this package:

  • Will NOT install a desktop icon.
  • Will NOT install the Adobe Reader and Acrobat Manager ("ARM") service.
  • Will configure Reader to only check for updates manually with confirmation for install.

However, upgrades to Adobe Reader via this package:

  • Will NOT remove an existing desktop icon or add one when there isn't.
  • Will NOT install the AdobeARM service.
  • Will NOT remove the AdobeARM service (though it will disable it unless enabled by parameters).
  • Will NOT re-enable updates (if disabled via package parameter)

Package Parameters

  • /DesktopIcon - The Desktop icon will be installed to the common desktop. (Install only.)
  • /NoUpdates - No updates via internal mechanisms (including manual checks). Only downloading from Adobe and running installers or updates (or updating this package) will advance the version of Reader. Once set, only uninstalling this package will remove this update block.
  • /EnableUpdateService - Install the AdobeARM service. (Does not override /NoUpdates.)
  • /UpdateMode:# - Sets the update mode (below). (Does not override /NoUpdates.)

Update Modes

  • 0 - Manually check for and install updates. (Default and reset on every update)
  • 1 - Same as 0.
  • 2 - Download updates for me, but let me choose when to install them. (Appears to be no different than 0.)
  • 3 - Install updates automatically (via task scheduler or ARM service if enabled).
  • 4 - Notify me, but let me choose when to download and install updates.

These parameters can be passed to the installer with the use of -params.
For example :
choco install adobereader -params '"/DesktopIcon /UpdateMode:4"'

To install Adobe Acrobat Reader DC, run the following command from the command line or from PowerShell:

C:\> choco install adobereader

To upgrade Adobe Acrobat Reader DC, run the following command from the command line or from PowerShell:

C:\> choco upgrade adobereader

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $DisplayName = 'Adobe Acrobat Reader DC MUI'
    
    $MUIurl            = 'http://ardownload.adobe.com/pub/adobe/reader/win/AcrobatDC/1901020064/AcroRdrDC1901020064_MUI.exe'
    $MUIchecksum       = '81953f3cf426cbe9e6702d1af7f727c59514c012d8d90bacfb012079c7da6d23'
    $MUImspURL = 'http://ftp.adobe.com/pub/adobe/reader/win/AcrobatDC/1901220040/AcroRdrDCUpd1901220040_MUI.msp'
    $MUImspChecksum = 'ff6517f27df4b60b55d65ee9af00dcd884ef43ed62cad3cc5a3da97562c0ec684b6727c473a223b4d941e0304ce31f23785a8e3a7578c6c0414ac39c8266a9ce'
    
    $MUIinstalled = $false
    $UpdateOnly = $false
    [array]$key = Get-UninstallRegistryKey -SoftwareName $DisplayName.replace(' MUI','*')
    
    if ($key.Count -eq 1) {
       $InstalledVersion = $key[0].DisplayVersion.replace('.','')
       $InstallerVersion = $MUIurl.split('/')[-2]
       if ($key[0].DisplayName -notmatch 'MUI') {
          if ($InstalledVersion -ge $InstallerVersion) {
             Write-Warning "The currently installed $($key[0].DisplayName) is a single-language install."
             Write-Warning 'This multi-language (MUI) package cannot overwrite it at this time.'
             Write-Warning "You will need to uninstall $($key[0].DisplayName) first."
             Throw 'Installation halted.'
          } else {
             Write-Warning "The currently installed $($key[0].DisplayName) is a single-language install."
             Write-Warning  'This package will replace it with the multi-language (MUI) release.'
          }
       } else {
          $MUIinstalled = $true
          $UpdaterVersion = $MUImspURL.split('/')[-2]
          if ($InstalledVersion -eq $UpdaterVersion) {
             Write-Verbose 'Currently installed version is the same as this package.  Nothing further to do.'
             Return
          } elseif ($InstalledVersion -gt $UpdaterVersion) {
             Write-Warning "$($key[0].DisplayName) v20$($key[0].DisplayVersion) installed."
             Write-Warning "This package installs v$env:ChocolateyPackageVersion and cannot replace a newer version."
             Throw 'Installation halted.'
          } elseif (($InstalledVersion -ge $InstallerVersion) -and ($InstalledVersion -lt $UpdaterVersion)) {
             $UpdateOnly = $true
          }
       }
    } elseif ($key.count -gt 1) {
       Write-Warning "$($key.Count) matching installs of Adobe Acrobat Reader DC found!"
       Write-Warning 'To prevent accidental data loss, this install will be aborted.'
       Write-Warning 'The following installs were found:'
       $key | ForEach-Object {Write-Warning "- $($_.DisplayName)`t$($_.DisplayVersion)"}
       Throw 'Installation halted.'
    }
    
    $DownloadArgs = @{
       packageName    = $env:ChocolateyPackageName
       FileFullPath   = Join-Path $env:TEMP "$env:ChocolateyPackageName.$env:ChocolateyPackageVersion.installer.exe"
       url            = $MUIurl
       checksum       = $MUIchecksum
       checksumType   = 'SHA256'
       GetOriginalFileName = $true
    }
    $MUIexePath = Get-ChocolateyWebFile @DownloadArgs
    
    
    $PackageParameters   = Get-PackageParameters
    # Reference: https://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/properties.html#command-line-example
    $options = ' DISABLEDESKTOPSHORTCUT=1'
    if ($PackageParameters.DesktopIcon) {
       $options += ''
       Write-Host 'You requested a desktop icon.' -ForegroundColor Cyan
    }
    
    if ($PackageParameters.NoUpdates) {
       $RegRoot = 'HKLM:\SOFTWARE\Policies'
       $RegSubFolders = ('Adobe\Acrobat Reader\DC\FeatureLockDown').split('\')
       for ($i=0; $i -lt $RegSubFolders.count; $i++) {
          $RegPath = "$RegRoot\$($RegSubFolders[0..$i] -join '\')"
          if (-not (Test-Path $RegPath)) {
             $null = New-Item -Path $RegPath.TrimEnd($RegSubFolders[$i]) -Name $RegSubFolders[$i]
          }
       }
       $RegPath = "$RegRoot\$($RegSubFolders -join '\')"
       if (Test-Path $RegPath) {
          $null = New-ItemProperty -Path $RegPath -Name 'bUpdater' -PropertyType DWORD -Value 0 -Force
       }
       Write-Host 'You requested no Adobe updates.' -ForegroundColor Cyan
    }
    
    if ($PackageParameters.EnableUpdateService) {
       Write-Host 'You requested to enable the auto-update service.' -ForegroundColor Cyan
       if ($MUIinstalled) {
          if (Get-Service -Name 'AdobeARMservice' -ErrorAction SilentlyContinue) {
             $null = Set-Service -Name 'AdobeARMservice' -StartupType Automatic
             $null = Start-Service -Name 'AdobeARMservice'
          } else {
             Write-Warning 'The Adobe ARM update service is not available and is not installed on updates.'
          }
       }
    } else {
       $options += ' DISABLE_ARM_SERVICE_INSTALL=1'
       if (Get-Service -Name 'AdobeARMservice' -ErrorAction SilentlyContinue) {
          $null = Stop-Service -Name 'AdobeARMservice' -Force
          $null = Set-Service -Name 'AdobeARMservice' -StartupType Disabled
       }
    }
    
    if (-not $PackageParameters.UpdateMode) {
       $UpdateMode = 0
    } else {$UpdateMode = $PackageParameters.UpdateMode}
    
    if ((0..4) -contains $UpdateMode) {
       Switch ($UpdateMode) {
          0 { Write-Host 'Configuring manual update checks and installs.' -ForegroundColor Cyan }
          1 { Write-Host 'You requested manual update checks and installs.' -ForegroundColor Cyan }
          2 { Write-Host 'You requested automatic update downloads and manual installs.' -ForegroundColor Cyan }
          3 { Write-Host 'You requested scheduled, automatic updates.' -ForegroundColor Cyan }
          4 { Write-Host 'You requested notifications but manual updates.' -ForegroundColor Cyan }
       }
       if ($MUIinstalled) {
          # This is the official setting based on the reference URL.
          $RegPath1 = 'HKLM:\SOFTWARE\Adobe\Adobe ARM\1.0\ARM\'
          if (Test-Path $RegPath1) {
             $null = New-ItemProperty -Path $RegPath1 -Name 'iCheckReader' -Value $UpdateMode -force
          }
          $GUID = '{' + $key[0].UninstallString.split('{')[-1]
          # This is the setting that actually causes a change in behavior.
          $RegPath2 = "HKLM:\SOFTWARE\Wow6432Node\Adobe\Adobe ARM\Legacy\Reader\$GUID"
          if (Test-Path $RegPath2) {
             $null = New-ItemProperty -Path $RegPath2 -Name 'Mode' -Value $UpdateMode -force
          }
       } else {
          $options += " UPDATE_MODE=$UpdateMode"
       }
    }
    
    if (-not $UpdateOnly) {
       $packageArgsEXE = @{
          packageName    = "$env:ChocolateyPackageName (installer)"
          fileType       = 'EXE'
          File            = $MUIexePath
          checksumType   = 'SHA256'
          silentArgs     = "/sAll /msi /norestart /quiet ALLUSERS=1 EULA_ACCEPT=YES $options" +
                            " /L*v `"$env:TEMP\$env:chocolateyPackageName.$env:chocolateyPackageVersion.Install.log`""
          validExitCodes = @(0, 1000, 1101, 1603)
       }
       $exitCode = Install-ChocolateyInstallPackage @packageArgsEXE
       
       if ($exitCode -eq 1603) {
          Write-Warning "For code 1603, Adobe recommends to 'shut down Microsoft Office and all web browsers' and try again."
          Write-Warning 'The install log should provide more details about the encountered issue:'
          Write-Warning "   $env:TEMP\$env:chocolateyPackageName.$env:chocolateyPackageVersion.Install.log"
          Throw "Installation of $env:ChocolateyPackageName was unsuccessful."
       }
    }
    
    # Only download/install the patch if necessary
    if ($MUIurl.split('/')[-2] -ne $MUImspURL.split('/')[-2]) {
       $DownloadArgs = @{
          packageName    = "$env:ChocolateyPackageName (update)"
          FileFullPath   = Join-Path $env:TEMP "$env:ChocolateyPackageName.$env:ChocolateyPackageVersion.msp"
          url            = $MUImspURL
          checksum       = $MUImspChecksum
          checksumType   = 'SHA512'
          GetOriginalFileName = $true
       }
       $mspPath = Get-ChocolateyWebFile @DownloadArgs
    
       $UpdateArgs = @{
          Statements     = "/p `"$mspPath`" /norestart /quiet ALLUSERS=1 EULA_ACCEPT=YES $options" +
                               " /L*v `"$env:TEMP\$env:chocolateyPackageName.$env:chocolateyPackageVersion.Update.log`""
          ExetoRun       = 'msiexec.exe'
          validExitCodes = @(0, 1603)
       }
       $exitCode = Start-ChocolateyProcessAsAdmin @UpdateArgs
    
       if ($exitCode -eq 1603) {
          Write-Warning "For code 1603, Adobe recommends to 'shut down Microsoft Office and all web browsers' and try again."
          Write-Warning 'The update log should provide more details about the encountered issue:'
          Write-Warning "   $env:TEMP\$env:chocolateyPackageName.$env:chocolateyPackageVersion.Update.log"
          Throw "Patching of $env:ChocolateyPackageName to the latest version was unsuccessful."
       }
    }
    
  • tools\chocolateyuninstall.ps1 Show
    $RegPath = 'HKLM:\SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown'
    
    if (Test-Path $RegPath) {
       $key = Get-ItemProperty -path $RegPath
       if ($key.bUpdater -ne $null) {
          $null = Remove-ItemProperty -Path $RegPath -Name 'bUpdater' -Force
       }
    }
    

Virus Scan Results

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.

Dependencies

Package Maintainer(s)

Software Author(s)

  • Adobe

Copyright

Copyright © 1984-2018 Adobe Systems Incorporated and its licensors

Tags

Release Notes

https://www.adobe.com/devnet-docs/acrobatetk/tools/ReleaseNotes/index.html

Version History

Version Downloads Last updated Status
Adobe Acrobat Reader DC 2019.012.20036.1 3570681 Friday, August 16, 2019 approved
Adobe Acrobat Reader DC 2019.012.20036 1280820 Wednesday, August 14, 2019 approved
Adobe Acrobat Reader DC 2019.012.20035 30217862 Friday, June 14, 2019 approved
Adobe Acrobat Reader DC 2019.012.20034 10361136 Monday, May 20, 2019 approved
Adobe Acrobat Reader DC 2019.010.20099 14721532 Tuesday, April 9, 2019 approved
Adobe Acrobat Reader DC 2019.010.20098 11186446 Monday, March 4, 2019 approved
Adobe Acrobat Reader DC 2019.010.20091 2759148 Thursday, February 21, 2019 approved
Adobe Acrobat Reader DC 2019.010.20064.01 17021939 Tuesday, December 18, 2018 approved
Show More

Discussion for the Adobe Acrobat Reader DC Package

Ground rules:

  • This discussion is only about Adobe Acrobat Reader DC and the Adobe Acrobat Reader DC 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 Adobe Acrobat Reader DC, 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
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok