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
Thanks!
Dennis
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
dchristian
12 years ago
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.
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
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:
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.
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.
so that the conversation will remain readable.