If you're using or managing this for Windows 11 you can now deploy Adobe Acrobat Reader DC using the Microsoft Store. This is preferable for many reasons mostly because this way of doing it with IntuneWin files is a complete pain in the ass.
About this script
If you're not familiar with the IntuneWin format and what it's used for/when it's used there's some good background reading from Microsoft here: Prepare a Win32 app to be uploaded to Microsoft Intune | Microsoft Docs.
In short, it's a format designed to package Windows application installers for deployment with Intune.
This post contains a script which downloads the latest version of the Adobe Reader DC installer and turns it into an IntuneWin package for Intune deployment.
Kelvin has published a module that automates publishing RMM installers to Intune across all your customer tenants - you can read about it here: Automating with PowerShell: uploading your RMM application to all Intune tenants - CyberDrain.
The fix
I'm planning a future blog post that integrates these steps into Kelvin's module's workflow providing a single script you can use to get the latest version of Adobe Reader DC and upload it to all your customers' Intune tenants.
The script
loading...
To invoke the script we need to satisfy it's required parameters, an example invocation would look like this:
.\New-AdobeReaderDCInstallPackage.ps1 -Language 'English (UK)' -Architechture 'x64' -InstallerSavePath 'X:\ARDeployment\Src\' -Win32ContentPrepToolPath 'I:\Microsoft\Win32 Content Prep Tool\IntuneWinAppUtil.exe' -PackageOutputPath 'X:\ARDeployment\Output\'
Breaking down the parameters there:
- -Language: Specify the language for the installer. For English (US) use English. A list of valid values can be found at the top of the script.
- -Architechture: The CPU architechture for the installer - valid values are
*'x64'*
and'x86'
. - -InstallerSavePath: The folder to save the installer executable into. If it doesn't exist, the script will try to create it.
- -Win32ContentPrepToolPath: The full path to the Microsoft Win32-Content-Prep-Tool executable file.
- -PackageOutputPath: The folder to save the resulting IntuneWin file into. If it doesn't exist, the script will try to create it.