Skip to main content

Creating a Nested Package with Jamf School

Updated over a month ago

Description

Sometimes when deploying in-house applications from Jamf School the applications need to be nested due to unsupported package type or requiring license files during the unpacking process (such as for EDR software or CrowdStrike). To handle these packages, Composer can be used to repackage the app as a Nested Package with the additional components or to hide the original unsupported package type.

Please note, the packaging and deployment steps of 3rd party applications depend on the vendor and can change at any time as they release new versions.

Nested Package Creation with Jamf School

  1. Open Finder, select command+shift+g to open the Go to Menu, then typed in /tmp.

  2. Once in the /tmp location, create a new folder in this location naming it accordingly.

  3. Drag the package into the folder from step 2.

  4. Open Composer, select cancel if prompted for a snapshot.

  5. Drag the folder created in step 2 from the /tmp folder in finder to the left side of composer (the mouse will change to include a green plus icon).

  6. In Composer, expand the private folder, and expand the tmp folder. Then select the folder created in step 2 and confirm the Owner is set to root and the Group is set to wheel.

  7. On the left side of Composer, expand the package and right click on scripts. Select Shell Script, then post install.

  8. In the post install script replace with the following (ensuring to use the folder name from step 2 in place of FOLDER and the package file name in place of PACKAGENAME):

    #!/bin/bash
    installer -pkg /private/tmp/FOLDER/PACKAGENAME.pkg -target /

  9. Click back to package on the lefts side of Composer to save the postinstall script.

  10. Select Build as PKG, save to desktop or any other folder location as needed.

  11. Upload package to Jamf School and deploy to devices by going to Apps > Inventory > Add App > Add In-House macOS Package.



Did this answer your question?