Skip to main content

Creating and uploading deployable PKG files to Jamf

The purpose of this guide is to assist anyone creating/uploading packages to Jamf for different apps deployable to Mac computers. This was a two week back and forth process with tech support and ultimately the following guidelines were provided in order to create uploadable packages which could be added to the app repository available to Macs within the district.

Hi Austin,

Thank you for your time today!

We were able to get Google Chrome and Google Drive deployed using the workflow below:

1. Download the app installer PKG
2. Create an folder in /private/tmp/ and named the folder
3. Move the App pkg to /private/tmp/foldername
4. Open Composer and authenticate with the Local Admin Account

- If Composer is not Installed on any computers, a copy of Composer can be downloaded and installed from https://account.jamf.com > Products > Other Products when logging in with the Jamf Account that has the same email address used to log in to Jamf School

- If Composer is not present in that location please reach out to Customer Success via email at success@jamf.com to be granted Composer Access

5. Drag the folder created in step 2 to the left side bar of Composer
6. Expand the folder in composer for verification
7. Expand the Package Source (side bar) and right click on Scripts
8. Add Shell Script > postinstall
9. Under the Variable Declarations enter the line:

installer -pkg /private/tmp/foldername/[Installer\ Package].pkg -target /

- where [Installer\ Package] is the actual name of the pkg

10. Change the first line to #!/bin/bash
11. Click the Package Source > Build as PKG
12. Upload to Jamf School as a new in-house Mac Application and scope to devices as desired

For Adobe Acrobat, we repackaged this using the drag and drop method below:

1. Successfully install this application on a computer in question (The computer must have composer installed.)
2. Open Composer and Drag the App from the Applications Folder to the left side of Composer under "sources". This will create the package contents for you.
3. Expand the folders and change the owner/group of the folder if needed on the bottom right of Composer. Once completed, click "Build as PKG" and save the PKG
4. Upload the Package to Jamf School for deployment

https://docs.jamf.com/jamf-school/documentation/In-House_Content_Distribution.html#ID-0000b8c3

For Forticlient we tried using drag/drop method and the app show as "installed" but it is not compatible for the machine. Next we attempted creating the folder in the /private/tmp for deployment. We are currently waiting on how this goes.

Please reply directly to this email with the results and any other related questions/concerns.

Best Regards,

Pa Kou
Jamf Technical Support
Jamf School Documentation - https://docs.jamf.com/jamf-school/