-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AdobeAcrobatReaderDC (installAcrobatDC.zsh) failing to install from the CDN #173
Comments
It looks like Adobe has change their naming conventions and bundleID. If I download Adobe Reader from their website, it looks like it installs Acrobat DC. In Intune it's showing the following included apps: No reference to "Reader" anywhere. |
I have created a new script with and URL. Adobe completely changes their version\bundleID and Reader is no longer a separate applications. Here is what I have working currently: `#!/bin/zsh LOG_FILE="/Library/Logs/Microsoft/IntuneScripts/installReader.log" Function to update the Swift Dialog statusfunction updateSplashScreen() {
} echo "$(date) | Starting installation of $appname" | tee -a "$LOG_FILE" Kill lingering Acrobat mountsecho "$(date) | Checking for existing mounts..." | tee -a "$LOG_FILE" Ensure old DMG is removed before downloadingif [[ -f "$DMG_PATH" ]]; then Download Adobe Acrobat Reader DCecho "$(date) | Downloading $appname from $DMG_URL" | tee -a "$LOG_FILE" Verify the DMG existsif [[ ! -f "$DMG_PATH" ]]; then Mount the DMGecho "$(date) | Mounting DMG..." | tee -a "$LOG_FILE" Extract mount point dynamicallyMOUNT_POINT=$(echo "$MOUNT_OUTPUT" | grep "/Volumes/AcroRdrSCADC" | awk '{$1=$2=""; print $0}' | sed 's/^[ \t]*//') Retry mount detection if neededif [[ -z "$MOUNT_POINT" ]]; then if [[ -z "$MOUNT_POINT" ]]; then echo "$(date) | DMG mounted at $MOUNT_POINT" | tee -a "$LOG_FILE" Find the PKG inside the mounted DMGPKG_PATH=$(find "$MOUNT_POINT" -name "*.pkg" -type f | head -n 1) if [[ -z "$PKG_PATH" ]]; then echo "$(date) | Found package: $PKG_PATH. Beginning installation..." | tee -a "$LOG_FILE" Install the PKGinstaller -pkg "$PKG_PATH" -target / -verboseR | tee -a "$LOG_FILE" Check if installation was successfulif [[ $? -ne 0 ]]; then echo "$(date) | Installation completed successfully!" | tee -a "$LOG_FILE" Unmount and clean upecho "$(date) | Unmounting DMG..." | tee -a "$LOG_FILE" echo "$(date) | Cleanup complete. Exiting." | tee -a "$LOG_FILE" |
`Mon Jan 27 08:20:58 EST 2025 | Creating [/Library/Logs/Microsoft/IntuneScripts/Adobe Acrobat Reader DC] to store logs
##############################################################
Mon Jan 27 08:20:58 EST 2025 | Logging install of [Adobe Acrobat Reader DC] to [/Library/Logs/Microsoft/IntuneScripts/Adobe Acrobat Reader DC/Adobe Acrobat Reader DC.log]
############################################################
Mon Jan 27 08:20:58 EST 2025 | Checking if we need Rosetta 2 or not
Mon Jan 27 08:20:58 EST 2025 | Waiting for other [/usr/sbin/softwareupdate] processes to end
Mon Jan 27 08:20:58 EST 2025 | No instances of [/usr/sbin/softwareupdate] found, safe to proceed
Mon Jan 27 08:20:58 EST 2025 | Rosetta is already installed and running. Nothing to do.
Mon Jan 27 08:20:58 EST 2025 | Checking if we need to install or update [Adobe Acrobat Reader DC]
Mon Jan 27 08:20:58 EST 2025 | [Adobe Acrobat Reader DC] not installed, need to download and install
Mon Jan 27 08:20:58 EST 2025 | Dock is here, lets carry on
Mon Jan 27 08:20:58 EST 2025 | Starting downlading of [Adobe Acrobat Reader DC]
Mon Jan 27 08:20:58 EST 2025 | Waiting for other [curl -f] processes to end
Mon Jan 27 08:20:58 EST 2025 | No instances of [curl -f] found, safe to proceed
Mon Jan 27 08:20:58 EST 2025 | Downloading Adobe Acrobat Reader DC [https://ardownload2.adobe.com/pub/adobe/reader/mac/AcrobatDC/2400520393/AcroRdrDC_2400520393_MUI.dmg]
Mon Jan 27 08:20:59 EST 2025 | Failure to download [https://ardownload2.adobe.com/pub/adobe/reader/mac/AcrobatDC/2400520393/AcroRdrDC_2400520393_MUI.dmg] to []
`
Navigating to that url shows a 404
The text was updated successfully, but these errors were encountered: