App will not download

Lavon
New Contributor

Hello All,

I am very new to Jamf Pro and Im trying to teach my self how to build packages and deploy them in our test environment.  

I am having a problem with an app downloading to my Macbook using Jamf Pro  I have built the package and it shows up in Self Service.  But when I download it, it said Installed but it does not show installed on the MacBook. I checked the policy logs and it show it starts to install the app but then it closes the packages.  I have included the steps from the log

[STEP 1 of 4]
Executing Policy Steam
[STEP 2 of 4]
Downloading https://diamond.jamfcloud.com/jcds/downloads/steam.dmg...
Verifying DMG...
Verifying package integrity...
Installing Steam...
Closing package...
1 ACCEPTED SOLUTION

Tribruin
Valued Contributor II

If you just downloaded the dmg from the vendor and then uploaded it to Jamf Pro, it will not work. The typical dmg download from vendors are desgined for drag and drop install, with the .app file at the root the dmg volume. 

However, to use a dmg in Jamf, it needs be built with the same folder structure you want to install the application in to. So, if you want to install the application in the /Applications folder you need to build out the DMG with the .app file in a folder called /Applications on the DMG.

Your best best is just re-package the application in a pkg file using Jamf Composer or similar tool. 

View solution in original post

5 REPLIES 5

mvu
Valued Contributor III

Can you repackage you the app as a package file (.pkg) instead of a .dmg file. Then try installing again?

Tribruin
Valued Contributor II

If you just downloaded the dmg from the vendor and then uploaded it to Jamf Pro, it will not work. The typical dmg download from vendors are desgined for drag and drop install, with the .app file at the root the dmg volume. 

However, to use a dmg in Jamf, it needs be built with the same folder structure you want to install the application in to. So, if you want to install the application in the /Applications folder you need to build out the DMG with the .app file in a folder called /Applications on the DMG.

Your best best is just re-package the application in a pkg file using Jamf Composer or similar tool. 

agungsujiwo
Contributor II

Hi @Lavon ,

I agree with @Tribruin & @mvu .
Here is the Jamf Composer documentation, where you can create recipes based on your needs.
https://learn.jamf.com/en-US/bundle/composer-user-guide-current/page/Composer_Overview.html

oli
New Contributor III

I can suggest this Quick Action to generate Packages: https://macos.it-profs.de/macos-create-installer-from-an-app/

JevermannNG
Contributor III

You need a Policy which "Caches" the DMG-File to the "Jamf Waiting Room".

Afterwards I run the following Script which does the copy of the App from the mounted DMG File etc.

JAMF-Install-APP-from-DMG