Quick-add package - OS version limitation

Bhughes
Contributor

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

3 REPLIES 3

mm2270
Legendary Contributor III

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

SeanA
Contributor III

Yeah, @mm2270 pretty much answered that question.

Bhughes
Contributor

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.