I know this is digging up an old post, but here's a new script that uses
API to do the same thing:#!/bin/bash## User
VariablesjamfProURL="$4"jamfProUser="$5"jamfProPass="$6"logFiles="$7"##
System VariablesmySerial=$(system_profiler SPHardwareDataType...
Using Composer I put the Zscaler-osx-x.x.x-installer.app in the
/Applications/Utilities folder then added a postinstall script that has
/bin/sh
/Applications/Utilities/Zscaler-osx-1.5.1.5-installer.app/Contents/MacOS/installbuilder.sh
in it.