![]() usr/bin/curl -sL "$downloadUrl" -o "$applicationDmg" If ] & ] thenĮlif ] & ] thenĮcho "Nothing found in parameters, exiting" LoggedInUser=$(/usr/bin/stat -f%Su /dev/console) pkg file within the DMGĭownloadLocation="/private/tmp" # Where the file gets downloadedĪpplicationDmg=""$downloadLocation"/"$dmgName"" # The location and name of the downloaded file ![]() # NOTE: A parameter must be set in either "$6" OR "$7", the script willĭownloadUrl="$4" # The URL must return a fileĭmgName="$5" # The name of the file after it's downloadedĪppName="$6" # Name of the. # "$5" Represents what the DMG will be named after being downloaded # "$4" Represents the URL from where the DMG will be downloaded # Variables which must be defined in Jamf Pro # - Added support to quit application before installing # - Downloads a DMG file to extract an app or PKG and install on the user's computer ![]() I use this script I created to download the app and install it with permissions for the user. Pushing updates manually or via patch management works well. ![]() This is the only way I've found to bypass the update request for standard users. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |