Cache packages, install Cached packages...install order question?

donmontalvo
Esteemed Contributor III

We want to deploy 3 big PKG installers that have to be run in order.

  1. PKG for a CS suite set to Priority10
  2. PKG for AIR install set to Priority11
  3. PKG for AIR/CHC config set to Priority12

We have 1 policy set up to cache each of the 3 packages. The policy has the [x]Install Cached Packages checked. Does this mean the 3 packages will also run in order?

We originally set up 3 separate policies, to daisy chain them, but for logistical reasons we have to use 1 single policy.

So I wanted to confirm...is JSS intelligent enough to respect the priority set for each PKG when we choose to cache and then install cached PKGs?

Thanks, [color=red]<-- Sorry @meck :)[/color]
Don

--
https://donmontalvo.com
5 REPLIES 5

bentoms
Release Candidate Programs Tester

I thought it worked in Alpha-Numeric order.

Could be wrong though.

mm2270
Legendary Contributor III

@Don, that's a really good question. I'm curious of the answer to this as well. We don't often need to install several cached pkgs in any particular order, but if we ever do, I'd like to know how it handles that.

donmontalvo
Esteemed Contributor III

Hmmm...has me thinking as well about how [x]Must be installed at boot time works, does it install by priority when cached for install on first reboot at imaging time?

I'll ping our JAMF buddy to see if he has the answer...

Don

--
https://donmontalvo.com

acdesigntech
Contributor II

@Don: from what I've seen, checking install at boot time does respect the ordering of 1. priority and then 2. alphabetic

The tricky part, I find, is when you have multiple scripts set to run on reboot (or first, or even last) that must follow a particular order. To this end, I've started prefixing such scripts with 00, 01, 02, etc., to ensure they run in a particular order, since Casper also defaults to alphabetizing scripts with the same "priority."

jarednichols
Honored Contributor

+1 to Andrew. Spot on.