Skip to main content
Solved

How to stop all adobe products when installing new version

  • December 12, 2019
  • 3 replies
  • 19 views

Forum|alt.badge.img+4

How to stop all adobe products when installing a new version of adobe 2019

Best answer by dan-snelson

@Andrewpants1 Here are a few snippets from a larger script which may prove helpful:

### Variables
loggedInUser=$( /usr/bin/stat -f%Su /dev/console )  # Currently logged in user

### Functions
killProcess(){
    echo "Quit Adobe-related process: "${1}" ..."
    /usr/bin/pkill -l -U ${loggedInUser} "${1}"
}

killProcess "Creative Cloud"
killProcess "CCLibrary"
killProcess "Core Sync"
killProcess "Core Sync Helper"
killProcess "Adobe Desktop Service"
killProcess "CCXProcess"

3 replies

CSCC-JS
Forum|alt.badge.img+8
  • Valued Contributor
  • December 12, 2019

How are the pkg built?

We use the adobe admin console to create the packages and set it to disable updates and not allow users to update from the cc client (for labs) but enable rum (remote update manager) so we can run the rum commands if needed.


dan-snelson
Forum|alt.badge.img+28
  • Honored Contributor
  • Answer
  • December 13, 2019

@Andrewpants1 Here are a few snippets from a larger script which may prove helpful:

### Variables
loggedInUser=$( /usr/bin/stat -f%Su /dev/console )  # Currently logged in user

### Functions
killProcess(){
    echo "Quit Adobe-related process: "${1}" ..."
    /usr/bin/pkill -l -U ${loggedInUser} "${1}"
}

killProcess "Creative Cloud"
killProcess "CCLibrary"
killProcess "Core Sync"
killProcess "Core Sync Helper"
killProcess "Adobe Desktop Service"
killProcess "CCXProcess"

Forum|alt.badge.img+9
  • Contributor
  • May 14, 2024

@Andrewpants1 Here are a few snippets from a larger script which may prove helpful:

### Variables
loggedInUser=$( /usr/bin/stat -f%Su /dev/console )  # Currently logged in user

### Functions
killProcess(){
    echo "Quit Adobe-related process: "${1}" ..."
    /usr/bin/pkill -l -U ${loggedInUser} "${1}"
}

killProcess "Creative Cloud"
killProcess "CCLibrary"
killProcess "Core Sync"
killProcess "Core Sync Helper"
killProcess "Adobe Desktop Service"
killProcess "CCXProcess"

The only issue I have found is that some of the Adobe applications will throw up a Crash Report when they are killed in this fashion.

But otherwise, it works exactly as desired.