Last active
March 3, 2022 17:21
-
-
Save wise-io/c6a0972089534b8ad3540675ab3331bc to your computer and use it in GitHub Desktop.
Installs Adobe Acrobat Reader DC Silently
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installs Adobe Acrobat Reader DC | |
# Acquire a distribution license from Adobe here: http://www.adobe.com/products/reader/rdr_distribution1.html | |
# Once you have a valid license, you will have download links for Adobe Installers (without bloatware) for distribution. | |
$Installer = "$env:temp\AdobeReader.exe" | |
$DownloadURL = '' # Add download URL here | |
try { | |
# Download Installer | |
Invoke-WebRequest -Uri $DownloadURL -OutFile $Installer | |
# Install Program | |
Start-Process -Wait -FilePath $Installer -ArgumentList '/sAll /rs /msi EULA_ACCEPT=YES' | |
} | |
catch { throw } | |
finally { | |
# Remove Installer | |
Remove-Item $Installer -Force -ErrorAction Ignore | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment