Slipstream Adobe Reader with PowerShell
If you’ve been reading my other posts about how to slipstream Adobe Reader for deployment with ConfigMgr 2012, this post will come in handy. When slipstreaming Adobe Reader there are quite a few steps to do in the right order and tedious command lines to remember. Instead I’ve created a basic PowerShell script that handles it all. With this script you only need to use one single command, neat right?
Download the script
You can download the script from the TechNet Gallery.
Downloading the correct files
When slipstreaming Adobe Reader it’s important to know the difference between a Base installer, Quarterly released patch and a Security patch. The Base installer is the the actual application, while a Quarterly patch can contain new features and security updates. It will always contain the Base installer and the patch itself, when you extract its contents. A Security patch is just that, a patch meant to fix a security issue. You should apply the installer and patches in the following order:
Base Installer -> Quarterly patch -> Security patch
If you would explain this a bit more detailed with Adobe Reader 11.0.5 that was released a few months ago, it looks like this:
11.0.0 -> 11.0.4 -> 11.0.5
For the most current release, which is Adobe Reader 11.0.6, it should be applied in the following order:
11.0.0 -> 11.0.6
How do you know this? Well you could of course Google/Bing the release notes, but a good hint is that if the latest release is an executable, it will contain the Base installer and the patch itself. That would be a Quarterly patch. Normally security patches are released as MSP files directly. Let me give you an example with the latest release 11.0.6, simply just download the file from here:
How to use the script
1. Downloaded the necessary file(s) to a folder somewhere (should be a local drive or mapped network drive). I’ve downloaded AdbeRdr11006_en_US.exe to C:\Downloads. I’ll refer to this location as the Download folder in this post.
2. Create a folder called AIP. I’ve created it at C:\AIP and will refer to it as the TargetFolder.
3. Download the script from TechNet Gallery and extract it C:\Scripts.
4. Open an elevated PowerShell console, browse to C:\Scripts and run the following command:
.\New-AdobeReaderAIP.ps1 -FileName "AdbeRdr11006_en_US.exe" -DownloadFolder "C:\Download" -TargetFolder "C:\AIP"
5. The script will now start to slipstream Adobe Reader.
Note: In the video below I’m slipstreaming Adobe Reader 11.0.5, just to show that the script works with both Quarterly patches and Security patches.