Anyone seen jamfHelper script failures after moving from 8.x to 9.x?
I'm seeing my existing jamfHelper dialog scripts (such as the one listed below) failing after moving from 8.x to 9.x JSS. This appears to happen specifically in script parameters with spaces in them, even given quoting. This was never a problem in 8.x, yet 9.x seems to change that.
Image Example:
Script Example:
#!/bin/sh
#### Casper User Dialogue (Utility Style)
#### Read in the parameters
mountPoint=$1
computerName=$2
username=$3
title=$4 # "string" Sets the window's title
heading=$5 # "string" Sets the heading of the window
description=$6 # "string" Sets main contents of window
icon=$7 # path Sets windows image filed to image located at specified path
button1=$8 # "string" Creates button with label (default button)
button2=$9 # "string" Creates button with label
#### Preconfigured Settings
dButton="1" # Sets default button to button1. Responds to "return"
windowType="utility" # [hud | utility | fs]
/Library/Application Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper -windowType "$windowType" -windowPosition "$windowPosition" -title "$title" -heading "$heading" -description "$description" -icon "$icon" -button1 "$button1" -button2 "$button2" -defaultButton "$dButton" -windowType "$windowType" -startlaunchd
exit 0