


If I use my old script that has no progress bar/cD, it works fine. Oddly, when I try it, if Adobe is fully updated and it will exit w/o errors, but if there are updates available, it prompts to install, then goes into limbo, the adobe RemoteUpdateManager.log shows errors. If no updates found user is noitified ad given the option to click OK and exit.ĭisplay dialog "Updates Availalbe!" buttons default button "OK" User is prompted and give the option to run the updates. Set grepResults to do shell script "usr/local/bin/remoteupdatemanager -action=list | grep Following Updates are applicable on the system" #Checks if there are available Adobe updates. But with Self Service sudo should't be necessary.Īny help would be appreciated. When running the script from Terminal I have to sudo. When the Run Updates button is clicked I get the following result:ĥ98:649: execution error: System Events got an error: RemoteUpdateManager exiting with Return Code (1) (1) It's almost as if the grep is being ignored. No matter the result of the remoteupdatemanager -action=list command the "Updates Available" dialog is always given. My bash scripting is limited but I have even less experience with AppleScript. I am attempting a script that will first check for updates, then give the user some actions based on whether or not available updates are found. The process kicks off but the user is never notified if updates have run or not. Currently, I have Adobe RUM setup in Self Service so our end users can update their Adobe CC apps anytime.
