Best way to deploy .apps

infrase2020
New Contributor III

Hi,

 

I have a few .apps that i need to deploy to users devices. I have created a script that copies the files from a temp location to users/applications however when the app is opened i get a warning saying the app is not trusted etc. 

My question is what is the easiest way to deploy the .apps and also prevent the warning message from appearing?

TIA.

3 REPLIES 3

jamf-42
Valued Contributor II

sdagley
Esteemed Contributor II

Another tool for creating .pkg installers from a .app (as well as some other sources) is Repackage from Twocanoes.

PaulHazelden
Valued Contributor

To prevent the trust message, for apps you do trust. Add this to your script...

xattr -d com.apple.quarantine /Applications/AppName.app

Add in this for each app you deploy. Putting in the correct path to the app. You only need to run this the one time, just after you have installed the app in place.

As others have said, I would use a package builder to make the packages to get the app from your Jamf server to your client Mac.