/build/static/layout/Breadcrumb_cap_w.png

Mac post install tasks

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?

Thanks!
Dennis

0 Comments   [ + ] Show comments

Answers (2)

Posted by: dchristian 12 years ago
Red Belt
2
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.
Posted by: eavalos 12 years ago
Senior Yellow Belt
0
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ