I'm looking to setup some post install tasks for macs but not finding really anything in the docs. How can I go about installing a simple .app (basically a drag to install) as well as something a little more complicated like office 2011 please?

0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer

For the simple stuff just upload the dmg.

Then you can use either of these for your command lines.

.pkg files are installed via:

installer -pkg thepackage.pkg -target / [Run Parameters]

.app files are installed via:

ditto -rsrc theapp.app /Applications/theapp

I usually put big stuff like office into my image.
Answered 03/14/2012 by: dchristian
Red Belt

Please log in to comment
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Echoing what dchristian said for the .apps. However, I've been wrangling with Flash and Reader installs today and have found his suggestion for pkgs to not work for me.

I've extracted the pkg from the Reader and Flash images. Placed them in their own dmg, and uploaded those to the KBOX, but the following command for Flash for example won't work and it's stumping me:

sudo installer -pkg "Adobe Flash Player.pkg" -target /

I can't find a useful log of this process to save my life at the moment, I've been checking on the kbox and the console utility to no avail...

Also a note, you can't upload a pkg to the k2000 it needs to be encapsulated in something, unless I missed something. When trying to upload the pkg to the k2000 it will just read it is a directory rather than a file.
Answered 03/14/2012 by: eavalos
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity