Client Management Suite

 View Only
  • 1.  Software delivery for Mac .APP or .PKG

    Posted Jun 11, 2012 02:32 AM

    Can anyone tell me how do you deliver file which are in .app or .pkg formatt?

    I googled for the articles but the articles are not available anymore.

    I really need help for this particular problem.

     



  • 2.  RE: Software delivery for Mac .APP or .PKG

    Posted Jun 11, 2012 12:11 PM

    Have a look at the OS X Management Guide:

     

     
    Long story short, take your .app or .pkg (or .mpkg) and put it into a .dmg file.  Then, import the .dmg file into the management console.  It will assign it a default command line, which is best left alone.  When it delivers the .dmg to the clients it will mount it, figure out what's inside and invoke the appropriate action.  If it is a .mpkg or .pkg it will use the Installer app and run the executable.  If it is a .app file, it will simply copy it to /Applications.
     
    Hope this helps,
     
    Andrew


  • 3.  RE: Software delivery for Mac .APP or .PKG

    Posted Aug 03, 2012 10:21 AM

    After working through this documentation for some time, I realized that your short instructions and the documented instructions are substantially different. While trying to create an Installer Shell script for Adobe CS6 Design and Web Premium, I had a hard time attempting to follow the sample provided for CS4 because many of the files in the sample path no longer exist for the current installer. When I tried your abridged version, I got considerably farther, but was still left with failed installations.

    Below is a step by step of the process I used to prepare the software for two Macs, one running Snow Leopard, and one running Lion.

    1. Packaged Adobe Design and Web Premium CS6 with AAMEE and rolled in the volume license into a .pkg file.
    2. Used Apple Disk Utility to change the .pkg into a .dmg disk image with no encryption and the Format set to "read/write disk image."
    3. Manually copied the .dmg to the UNC location.
    4. Imported the .dmg file into Management Console and it generated this command line:
    pkg-rollout -f Adobe\ CS6\ Design\ and\ Web\ Premium\ Licensed_Install.dmg

    

    1. Created a Quick Delivery Task for this software package and ran it on the two Mac systems.

    In the document you linked to, it noted that the command for the Mac silent install should be:

    /Volumes/Adobe/CS4/Setup.app/Contents/MacOS/Setup --mode=silent --deploymentFile="/Volumes/Adobe/CS4/install.xml

    But the script outlined in this very imformative document says the automatically generated one is closer to the truth (Apple File Types and Software Delivery for Macintosh). Which is right? Should there be a different .xml file paired with the .dmg to kick off the correct installation procedure?

    Where can I even begin to start troubleshooting this issue? The Management Console didn't even give me an error code to work with. Is there a way to enable logs so I can figure out exactly what part is failing? My guess is the command line or .dmg isn't correct because it failed out after 19 seconds on average between the two computers.



  • 4.  RE: Software delivery for Mac .APP or .PKG

    Posted Aug 03, 2012 01:31 PM

    After re-reading documentation, I realized I had glossed over the entire section outlining the .pkg install in the document "Apple File Types and Software Delivery for Macintosh" from my previous post. This document uses the command example:

    pkg-rollout -f GarageBand_202.pkg.zip

    This worked like a dream. Instead of turning the .pkg into a .dmg, I simply zipped it up and ran the "pkg-rollout -f" command and set the package as a ZIP Installation File when importing into Management Console.