Posted on 10-02-2015 06:42 AM
Hello -
Does anyone know of a way to limit the quick-add package from running on a particular version of OSX (ie: only run on 10.4 or higher)?
Thanks,
Ben
Posted on 10-02-2015 07:09 AM
The QuickAdd pkgs as created from Recon.app or generated from the enrollment page don't have such restrictions. Other than breaking it down and reconstructing it in Composer or some other way, only thing I can recommend would be to use Packages.app to wrap up the QuickAdd into another package as its payload. Packages.app can do a number of OS and hardware level checks (dependencies) to determine if the package should run. If it matches the requirements it can drop the QuickAdd into a tmp directory and use a postinstall script to install it. If not, it can stop before deploying anything.
Someone may have a more direct way of doing it though. But it might be a good idea to look at Packages.app anyway, as its a good tool to have in your toolbox.
Packages.app page
Posted on 10-02-2015 07:42 AM
Yeah, @mm2270 pretty much answered that question.
Posted on 10-02-2015 08:07 AM
Thanks @mm2270 not sure if that would work, we do all web-based enrollment, and are looking for a way to not allow folks running older versions of OSX to enroll.