New Adobe Reader DC 15.008.20082 has been released – How to upgrade with psappdeploytoolkit – Updated – Mobile-First Cloud-First

To deploy Adobe Reader DC in the enterprise you must download it from ftp://ftp.adobe.com/pub/adobe/reader/win/AcrobatDC/

In the 1500720033 folder you find the .MSI file download the language you need ex. AcroRdrDC1500720033_en_US.msi

In the 1500820082 folder you find the .MSP patch file AcroRdrDCUpd1500820082.msp

To customize the .MSI files you need to create a .MST file – that can be done with “Acrobat Customization Wizard DC”

Download it from http://www.adobe.com/support/downloads/detail.jsp?ftpID=5892%E2%80%8B

Install “Acrobat Customization Wizard DC” and create a .MST file

Before you create the .MST file you have to create a setup.ini as this:

[Startup] RequireOS=Windows 2000 RequireMSI=3.0 RequireIE=6.0.2600.0

CmdLine=/spb /rs

[Product]
msi=AcroRdrDC1500720033_da_DK.msi

Select “Suppress display of End User License Agreement (EULA)”

Select “Make Reader the default PDF viewer”

Select “Silently (no interface)”

Select “Suppress reboot”

Select ” Disable product updates”

Select “Disable Upsell”

Save and place the .MST files in the same folder as the .MSI and .MSP files

Now create a psappdeploytoolkit application:

Show-InstallationWelcome -CloseApps ‘AcroRd32,cidaemon’ -CloseAppsCountdown 120

For closing the Adobe Reader before installation

Remove-MSIApplications -Name ‘Adobe Acrobat Reader DC’

For removing all installed “Adobe Acrobat Reader DC”

Execute-MSI -Action Install -Path ‘AcroRdrDC1500720033_en_US.msi’ -Transform ‘AcroRdrDC1500720033_en_US.mst’

Install the downloaded .MSI files with the .MST files you created

Execute-MSI -Action Patch -Path ‘AcroRdrDCUpd1500820082.msp’

Install the downloaded patch as part of the installation

Download my Adobe Reader DC 15.008.20082 en-US packages

Download my Adobe Reader DC 15.008.20082 da-DK packages

Create the application in SCCM:

Select “Manually specify the application inforation”

Enter the inforation you like to be displayed in the application

Click Next

Click Next

Select “Script Installer” and “Manually specify the deployment type information”

Enter a name

Point to the source files

Install string: Deploy-Application.exe install

Uninstall string: Deploy-Application.exe uninstall

Click Add Clause

Enter the Detection rule

Use a regkey – You cannot use the MSI product code because the .MSP files for the Adobe Reader DC update does not change the MSI product code. [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Adobe ARM\Products\{291AA914-A987-4CE9-BD63-AC0A92D435E5}] “PolicyDisableUpdater”=”SOFTWARE\\Policies\\Adobe\\Acrobat Reader\\DC\\FeatureLockDown\\cServices” “DisableAnyUI”=dword:00000001 “ProductCode”=”{291AA914-A987-1030-BD63-AC0A92D435E5}” “InstalledValidate”=”C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe”

“ManifestURL”=”https://armmf.adobe.com/arm-manifests/win/ServicesUpdater/DCRdrManifest.msi”

“Check”=dword:00000048 “ProductName”=”ReaderServices” “ProductVersion”=”15.008.20082.0”

“Mode”=dword:00000003

Click next

Change the Installation behavior

Click Next

Click Next

Click Next

Click Next

Click Next

Click Next

Click Next

Click Close

My app Deploy-Application.ps1 for Adobe Reader DC 15.008.20082 look like this:

[CmdletBinding()] Param ( [Parameter(Mandatory=$false)] [ValidateSet(‘Install’,’Uninstall’)] [string]$DeploymentType = ‘Install’, [Parameter(Mandatory=$false)] [ValidateSet(‘Interactive’,’Silent’,’NonInteractive’)] [string]$DeployMode = ‘Interactive’, [Parameter(Mandatory=$false)] [switch]$AllowRebootPassThru = $false, [Parameter(Mandatory=$false)] [switch]$TerminalServerMode = $false

)

Try { ## Set the script execution policy for this process Try { Set-ExecutionPolicy -ExecutionPolicy ‘ByPass’ -Scope ‘Process’ -Force -ErrorAction ‘Stop’ } Catch {}##*=============================================== ##* VARIABLE DECLARATION ##*=============================================== ## Variables: Application [string]$appVendor = ‘Adobe’ [string]$appName = ‘Reader’ [string]$appVersion = ‘15.008.20082’ [string]$appArch = ” [string]$appLang = ‘en-US’ [string]$appRevision = ’01’ [string]$appScriptVersion = ‘1.0.0’ [string]$appScriptDate = ’07/24/2015′ [string]$appScriptAuthor = ‘Per Larsen’ ##*===============================================##* Do not modify section below #region DoNotModify## Variables: Exit Code [int32]$mainExitCode = 0## Variables: Script [string]$deployAppScriptFriendlyName = ‘Deploy Application’ [version]$deployAppScriptVersion = [version]’3.6.0′ [string]$deployAppScriptDate = ’03/11/2015′ [hashtable]$deployAppScriptParameters = $psBoundParameters## Variables: Environment

[string]$scriptDirectory = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent

## Dot source the required App Deploy Toolkit Functions Try { [string]$moduleAppDeployToolkitMain = “$scriptDirectory\AppDeployToolkit\AppDeployToolkitMain.ps1” If (-not (Test-Path -Path $moduleAppDeployToolkitMain -PathType Leaf)) { Throw “Module does not exist at the specified location [$moduleAppDeployToolkitMain].” } . $moduleAppDeployToolkitMain } Catch { [int32]$mainExitCode = 1 Write-Error -Message “Module [$moduleAppDeployToolkitMain] failed to load: `n$($_.Exception.Message)`n `n$($_.InvocationInfo.PositionMessage)” -ErrorAction ‘Continue’ Exit $mainExitCode

}

#endregion ##* Do not modify section above ##*=============================================== ##* END VARIABLE DECLARATION

##*===============================================

If ($deploymentType -ine ‘Uninstall’) { ##*=============================================== ##* PRE-INSTALLATION ##*===============================================

[string]$installPhase = ‘Pre-Installation’

## Show Welcome Message, close Internet Explorer if required, allow up to 3 deferrals, verify there is enough disk space to complete the install, and persist the prompt #Show-InstallationWelcome -CloseApps ‘iexplore’ -AllowDefer -DeferTimes 3 -CheckDiskSpace -PersistPrompt

Show-InstallationWelcome -CloseApps ‘AcroRd32,cidaemon’ -CloseAppsCountdown 120

  ## Show Progress Message (with the default message) Show-InstallationProgress##

Remove-MSIApplications -Name ‘Adobe Acrobat Reader DC’

##*=============================================== ##* INSTALLATION ##*=============================================== [string]$installPhase = ‘Installation’## Execute-MSI -Action Install -Path ‘AcroRdrDC1500720033_en_US.msi’ -Transform ‘AcroRdrDC1500720033_en_US.mst’ # Install the patch Execute-MSI -Action Patch -Path ‘AcroRdrDCUpd1500820082.msp’##*=============================================== ##* POST-INSTALLATION ##*=============================================== [string]$installPhase = ‘Post-Installation’## ## Display a message at the end of the install #Show-InstallationPrompt -Message “You can customize text to appear at the end of an install or remove it completely for unattended installations.” -ButtonRightText ‘OK’ -Icon Information -NoWait } ElseIf ($deploymentType -ieq ‘Uninstall’) { ##*=============================================== ##* PRE-UNINSTALLATION ##*=============================================== [string]$installPhase = ‘Pre-Uninstallation’## Show Welcome Message, close Internet Explorer with a 60 second countdown before automatically closing

#Show-InstallationWelcome -CloseApps ‘iexplore’ -CloseAppsCountdown 60

## Show Progress Message (with the default message)
Show-InstallationProgress

##

##*=============================================== ##* UNINSTALLATION ##*===============================================

[string]$installPhase = ‘Uninstallation’

#
Execute-MSI -Action Uninstall -Path ‘{AC76BA86-7AD7-1030-7B44-AC0F074E4100}’

##*=============================================== ##* POST-UNINSTALLATION ##*===============================================

[string]$installPhase = ‘Post-Uninstallation’

##
}

##*=============================================== ##* END SCRIPT BODY

##*===============================================

## Call the Exit-Script function to perform final cleanup operations Exit-Script -ExitCode $mainExitCode } Catch { [int32]$mainExitCode = 60001 [string]$mainErrorMessage = “$(Resolve-Error)” Write-Log -Message $mainErrorMessage -Severity 3 -Source $deployAppScriptFriendlyName Show-DialogBox -Text $mainErrorMessage -Icon ‘Stop’ Exit-Script -ExitCode $mainExitCode

}