When performing some things, such as the Adobe-blessed method of installing Flash, you have to get an installer application to the local machine. What is the best practice for doing this? My distribution point is over https, so I was thinking I could write a script and use Curl to pull a .zip file from the JSS or another server to the local system and then unpack it, but was curious if there was an easier way that I'm overlooking?
How to deploy a file to the local system?

Best answer by mm2270
You could use curl to pull down the file from your http enabled DP, provided that works in your environment.
In my case, I usually just wrap it up as a pkg file that places the application installer into a set location, such as /var/somefolder/ and then runs it via a postinstall script embedded into the pkg. That lets the JSS do its usual installation process to drop the installer.app into the location I specified when I packaged it in Composer and the postinstall script takes care of running it. The script is of course optional if you only want to drop it to a set location.
Also, it seems as of Casper Suite 8.63, we no longer see the pesky disk images mount visibly in the Finder when using the DMG package method. It wasn't mentioned anywhere I could find in the release notes, but it seems that long standing pet peeve of mine has been fixed.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.