3 Replies Latest reply on Sep 17, 2014 11:21 AM by Eduardo Chapa

    Deploy Software on Mac?

    Eduardo Chapa
      Share This:



      I want to start building some software packages for Mac, but haven't been able to find any documentation that talks about this in particular.


      So far I've been able to place the installation package (latest Java .pkg) on the root folder (for testing purposes only), but the execution command doesn't seem to be working.


      Here's the command I'm trying to run:


           /usr/sbin/installer -pkg /Java\ 7\ Update\ 67.pkg -target /Volumes/Macintosh\ HD -verbose


      The package reports back as "Executed" but it doesn't seem to be running. I enabled the root user in the target Mac device but that didn't work.  When I run the command locally in the Mac Terminal it works fine when preceded with "sudo" and entering the root password, but I assume this is not required when running the command through FPAC because it runs as root.


      Can someone point me in the right direction?