Crew Two

Adobe Reader DC 18.009.20044

Process for packaging or upgrading Adobe Acrobat Reader DC

Obtain package source and tools

Download the Acrobat Customization Wizard DC from ftp.adobe.com


Download the Adobe Reader executable from ftp.adobe.com

Download the latest patch update from this location also.

Extract required files

Extract the contents of AcroRdrDC1800920044_en_US.exe.
Copy the patch file AcroRdrDCUpd1800920044.msp to your package folder. This will replace the older msp file contained in the above executable you just extracted.

Customise package

Launch the Acrobat Customization Wizard DC and open AcroRead.msi from your temp folder where you extracted the original executable.

Generate Transform

Click Transform> Generate Transform.

Save MST file (in this example named AcroRead.mst).

Personalization options

Adjust settings from the defaults as required. Changes applied:

• Suppress EULA

Installation Options

Adjust settings from the defaults as required. Changes applied:

• Make Reader the default PDF viewer
• Install Silently with no user interaction
• Suppress Reboot

**NOTE: Making Reader the default will differ between environments, so best to check with the business.

Shortcuts

Adjust settings from the defaults as required. Changes applied:

• Remove Desktop shortcut

Online services and features

Adjust settings from the defaults as required. Changes applied:

• Disable Product updates
• When opening PDFs in IE prompt for Open/Save
• Disable all services

Direct Editor

Suppress the installation of the Adobe Acrobat Update Service.
Go to the Feature table. Change the Level value of the ARM cell to 0.

Save your changes and close the wizard.

Install

The installer is a powershell script. The steps it performs are:

  • Uninstalls previous versions of Adobe Reader
  • Installs Adobe Reader silently with Transform file
  • Suppresses reboots

Install.ps1

# Powershell script to install Adobe Reader DC 18.009.20044
# Created 22/11/2017 | cru2.io

# Set Variables
$CurrentPath = Split-Path -Parent $MyInvocation.MyCommand.Definition

# unInstall XI (all versions)
$uninst = Get-WmiObject -Class win32_product | where { $_.Name -like “*Reader XI*”}

If ($uninst -ne $null)
    {
    ForEach ($app in $uninst)
        {Start-Process -FilePath msiexec.exe -ArgumentList “/x $($app.IdentifyingNumber) /qn REBOOT=R” -Wait -PassThru -NoNewWindow -ErrorAction SilentlyContinue -WarningAction SilentlyContinue | Out-Null}
    }

# unInstall DC (all versions)
$uninst = Get-WmiObject -Class win32_product | where { $_.Name -like “*Reader DC*”}

If ($uninst -ne $null)
    {
    ForEach ($app in $uninst)
        {Start-Process -FilePath msiexec.exe -ArgumentList “/x $($app.IdentifyingNumber) /qn REBOOT=R” -Wait -PassThru -NoNewWindow -ErrorAction SilentlyContinue -WarningAction SilentlyContinue | Out-Null}
    }

# Install
Start-Process -FilePath msiexec.exe -ArgumentList “/i `”$CurrentPath\AcroRead.msi`” TRANSFORMS=`”$CurrentPath\AcroRead.mst`” /update `”$CurrentPath\AcroRdrDCUpd1800920044.msp`” REBOOT=R ALLUSERS=2 /qn” -Wait -PassThru -NoNewWindow -ErrorAction SilentlyContinue -WarningAction SilentlyContinue | Out-Null

Uninstall

The uninstaller is a powershell script. The steps it performs are:

  • Uninstalls previous versions of Adobe Reader
  • Suppresses reboots

unInstall.ps1

# Powershell script to uninstall Adobe Acrobat Reader
# Created 22/11/2017 | cru2.io

# Set Variables
$CurrentPath = Split-Path -Parent $MyInvocation.MyCommand.Definition

# unInstall XI (all versions)
$uninst = Get-WmiObject -Class win32_product | where { $_.Name -like “*Reader XI*”}

If ($uninst -ne $null)
    {
    ForEach ($app in $uninst)
        {Start-Process -FilePath msiexec.exe -ArgumentList “/x $($app.IdentifyingNumber) /qn REBOOT=R” -Wait -PassThru -NoNewWindow -ErrorAction SilentlyContinue -WarningAction SilentlyContinue | Out-Null}
    }

# unInstall DC (all versions)
$uninst = Get-WmiObject -Class win32_product | where { $_.Name -like “*Reader DC*”}

If ($uninst -ne $null)
    {
    ForEach ($app in $uninst)
        {Start-Process -FilePath msiexec.exe -ArgumentList “/x $($app.IdentifyingNumber) /qn REBOOT=R” -Wait -PassThru -NoNewWindow -ErrorAction SilentlyContinue -WarningAction SilentlyContinue | Out-Null}
    }

About: nick