Can someone send me the how they would issue the command line to install one of our software packages under the Kace 2000 for an example of:  Google Earth 2013.pkg

I am use to using deploy studio to send out my packages after a image has been applied, but am unsure of the process in Kace.  I have made it as far as Deployments>Postinstallation Tasks and Named the Application, Chose Mac OS X for runtime environment, uploaded the .pkg file, but the scripts I have used do not seem to work.


Thank you..

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2

The installer most likely needs to run as root in order to successfully install the package.  Haven't done any Mac deployments from the K2000, so I am not sure how it handles the post installation actions.  Using "sudo" to run the command will force it to run as root, but it may prompt the first user that logs in for their password (assuming they have admin access).

sudo /usr/sbin/installer -pkg ./Google\ Earth\ 2013.pkg -target /

If the package allows for installation to a volume other than the boot volume (offline installation), it may be better to set it as a "K2000 Boot Environment (Mac OS X)" type task.  I believe the boot environment is already running as root, so you wouldn't need sudo, but the target would change to the path to the volume you just installed the OS to.  Assuming that the volume is named "Macintosh HD" this becomes:

/usr/sbin/installer -pkg ./Google\ Earth\ 2013.pkg -target /Volumes/Macintosh\ HD

Note, in both commands I used a backslash (\) to escape the spaces in the name of the file and target volume.  

Answered 05/23/2013 by: ncsutmf
Second Degree Green Belt

  • Thanks much, the command sent by ncsutmf worked. I tested and was able to run with or without "/usr/sbin/". Much appreciated!
Please log in to comment

Answers

-2

These links might be of use to you - It sounds like you were after the same info as me when I first started using the K2000. You will need to use the Post Install Task Converter found here: http://www.kace.com/support/resources/kb/article/k2000-postinstall-task-converter

Also, you may want to check some of the best practices found here: http://blog.kace.com/2013/03/08/k2000-kloser-look-best-practices/

Answered 05/23/2013 by: k4rl@TES
Senior Purple Belt

  • Those windows commands won't work very well in OSX
  • Thanks much, the command sent by ncsutmf worked. I tested and was able to run with or without "/usr/sbin/". Much appreciated!
Please log in to comment
Answer this question or Comment on this question for clarity