Script to run Adobe Remote Update Manager (RUM)

jcshofner
New Contributor III

I am wondering if anyone has a timed script that JAMF can run through the policies, which will execute the Adobe Remote Update Manager to update the Creative Cloud applications?

15 REPLIES 15

cbrewer
Valued Contributor II

If you just run RemoteUpdateManager by itself, it will download and install updates for all Adobe apps. You don't need much of script other than a line to call RemoteUpdateManager. Here's what I'm currently using...

#!/bin/bash

#https://helpx.adobe.com/enterprise/package/help/apps-deployed-without-their-base-versions.html

if [[ -f /usr/local/bin/RemoteUpdateManager ]]; then
  echo "Starting Adobe RemoteUpdateManger..."
  # Update all Adobe apps except Lightroom (version 8.2 is not compatible with serialized licensing)
  /usr/local/bin/RemoteUpdateManager --productVersions=AEFT,FLPR,AUDT,KBRG,CHAR,ESHR,DRWV,ILST,AICY,IDSN,AME,PHSP,PRLD,PPRO,SPRK --action=install
else
  echo "Adobe RemoteUpdateManager not found."
fi

cbrewer
Valued Contributor II

Also, check out the following if you want a RemoteUpdateManager script that gives user feedback (useful for Self Service).

https://github.com/jmahlman/uarts-scripts/blob/master/Adobe-RUMWithProgress-jamfhelper.sh

jcshofner
New Contributor III

Thanks for the response!

PaulHazelden
Valued Contributor

Adobe Remote Update Manager will not update the Creative Cloud Desktop Application, this is by design by Adobe.
You either have to build a new version of it in CCP and re distribute that. Or when you build it in CCP you need to allow the elevated privileges for your users to be able to update it themselves, even if they are not admins. If they attempt to use it and it requires an update it will not allow them to continue until the update is completed.

Stubakka
Contributor II

Hi, when I attempt to use this script I get

Starting Adobe RemoteUpdateManger...
RemoteUpdateManager version is : 2.0.0.15
Starting the RemoteUpdateManager...

RemoteUpdateManager exiting with Return Code (1)

any ideas? it was sent as root from ARD to a system I manage.

KFA84
New Contributor

Hi everyone,

same here. Executing RUM script via Self Service policy is successful but as a an automated triggered policy, I get a Return Code 1 as well.

Snipped out of the log "~/Library/Logs/RemoteUpdateManager.log"

 

03/18/22 15:54:43:813 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | 

03/18/22 15:54:43:815 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | ##################################################
03/18/22 15:54:43:815 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | ##################################################
03/18/22 15:54:43:815 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | Launching the RemoteUpdateManager...
03/18/22 15:54:43:815 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | RemoteUpdateManager version is : 2.6.0.9
03/18/22 15:54:43:836 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | **************************************************
03/18/22 15:54:43:836 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | Initializing UpdaterCore Library...
03/18/22 15:54:43:836 | [WARN] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | Failed to find the UpdaterCore library at (/Library/Application Support/Adobe/Adobe Desktop Common/UWABox/UpdaterCore.framework/UpdaterCore) path
03/18/22 15:54:43:837 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | FFC override file does not exist ... (/Library/Application Support/Adobe/AAMUpdater/1.0/AdobeUpdater.Overrides)
03/18/22 15:54:43:862 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  | HDPIM | 2207869 | 0 | Inside hdpimCreateSession
03/18/22 15:54:43:863 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  | HDPIM | 2207869 | 0 | Entering into 'createHDPIMSession'
03/18/22 15:54:43:863 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  | HDPIM | 2207869 | 0 | new session 'E8372529-8851-4BEC-9599-388BC24CA96A' created 
03/18/22 15:54:43:866 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  | HDPIM | 2207869 | 0 | Exiting hdpimCreateSession, new session ID is 'E8372529-8851-4BEC-9599-388BC24CA96A'
03/18/22 15:54:43:866 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | **************************************************
03/18/22 15:54:43:866 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | Starting UpdaterCore CheckForUpdate...
03/18/22 15:54:43:866 | [WARN] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | Skipping CFU as UpdaterCore not found ...
03/18/22 15:54:43:866 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | **************************************************
03/18/22 15:54:43:867 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | Starting UpdaterCore DownloadUpdates...
03/18/22 15:54:43:867 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | Starting HD DownloadUpdates...
03/18/22 15:54:43:867 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | Using HUM library from ADC path(/Library/Application Support/Adobe/Adobe Desktop Common/HDBox/HUM.dylib) ...
03/18/22 15:54:46:447 | [ERROR] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | Failed to fetch the FFC XML content (2)...
03/18/22 15:54:46:447 | [ERROR] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | Failed to find the applicable updates for HD products ...
03/18/22 15:54:46:447 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | **************************************************
03/18/22 15:54:46:447 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  | HDPIM | 2207869 | 0 | Inside hdpimTerminateSession
03/18/22 15:54:46:449 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  | HDPIM | 2207869 | 0 | Exiting hdpimTerminateSession, successfully closed session '0'
03/18/22 15:54:46:449 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | ##################################################
03/18/22 15:54:46:449 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | Ending the RemoteUpdateManager Return Code (1)
03/18/22 15:54:46:449 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | ##################################################
03/18/22 15:54:46:449 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | ##################################################
03/18/22 15:54:46:449 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2207869 | 0 | 

 

 

pete_c
Contributor II

@Stubakka what was the exact language you used in ARD's Send UNIX Command?

Sending:

/usr/local/bin/RemoteUpdateManager --action=list

...as root returns expected results:

mini (192.168.2.21)
RemoteUpdateManager version is : 2.4.0.3
Starting the RemoteUpdateManager...

No new updates are available for Acrobat/Reader
Following Updates are applicable on the system : (ACR/12.2.0.78/osx10-64)
RemoteUpdateManager exiting with Return Code (0)

You may also want to update the RUM binary to the latest version, available here: https://helpx.adobe.com/enterprise/package/help/using-remote-update-manager.html

PCAE2981
New Contributor II

How would you make a RUM script run or how do i configure it to run using sudo? I tried using the scripts above but rum requires sudo not sure were or how to set to use sudo?

PaulHazelden
Valued Contributor

Run the script from Jamf. It will then be run as root, so the sudo is not required.
Save your script in the scrips, and then set up a policy to run the script when you want to have it run.
You can also add the same script in a Self Service policy and that too will run as root.

Stubakka
Contributor II

Hello all, is their a newer version of this script or something more current ? I am reviewing all my scripts in my instance.

cbrewer
Valued Contributor II

@Stubakka

I no longer exclude Lightroom from automatic updates.

#!/bin/bash

#https://helpx.adobe.com/enterprise/package/help/apps-deployed-without-their-base-versions.html

if [[ -f /usr/local/bin/RemoteUpdateManager ]]; then
  echo "Starting Adobe RemoteUpdateManger..."
  /usr/local/bin/RemoteUpdateManager --action=install
else
  echo "Adobe RemoteUpdateManager not found."
fi

c_archibald
Contributor II

RUM has been running pretty good, but as of this month, with all the updates, I can now download updated versions from Admin Console that are not updating on ALL machines through RUM.

cbrewer
Valued Contributor II

I don't think RUM will update from one core app version to another. For instance, it won't update Adobe Photoshop 2020.app to Adobe Photoshop 2021.app. IMO Adobe needs to stop putting the year into the app bundle names, just give us one app called Adobe Photoshop.app and let both RUM and the CC desktop app keep it up-to-date.

kellyjackson
New Contributor

UPDATE: The product codes for use with the productsVersions command are APRO and RDR in case anyone else is struggling to find this. i.e. RemoteUpdateManager --productVersions=APRO#21. Does anyone know how to use RUM to only update DC and Reader? There does not appear to be a ChannelID or productVersion for DC/Reader. We do not want to update ALL of our Adobe apps by just running RemoteUpdateManager without any specifics, but no specifics seem to exist for DC/Reader.

machattan
New Contributor II

What's up! Hey, just curious... We're getting this now when running @jmahlman script in Monterey.  Its been working great for us since! Anyone else having this problem below with it?

 

 

 

line 130: unexpected EOF while looking for matching `"'
line 133: syntax error: unexpected end of file