Action 1 (default)
Action Link Click
here to deploy the Tivoli Endpoint Manager Client 8.1.634.0 upgrade.
Script Type
BigFix Action Script
prefetch BESAgentUpgrade.dmg sha1:0b3bf36e78ff4b9fa4619e16b850e5bbc6ef1918 size:9522353 http://software.bigfix.com/download/bes/81/BESAgent-8.1.634.0-BigFix_MacOSXUpgrade.dmg
delete /tmp/BESAgentUpgrade.dmg
continue if {9522353 < free space of drive of folder "/tmp"}
copy __Download/BESAgentUpgrade.dmg /tmp/BESAgentUpgrade.dmg
wait hdiutil attach -quiet -private -mountpoint "/tmp/bfclientmnt" /tmp/BESAgentUpgrade.dmg
wait rm -rf "/tmp/TivoliEndpointManager.pkg"
wait cp -r "/tmp/bfclientmnt/TivoliEndpointManager.pkg" "/tmp/TivoliEndpointManager.pkg"
wait /bin/sh -c "hdiutil detach -force `mount | grep /tmp/bfclientmnt | cut -f 1 -d \ | cut -f 3 -d / | head -1`"
delete /tmp/BESAgentUpgrade.dmg
wait /bin/sh -c "trap '' 15; installer -pkg /tmp/TivoliEndpointManager.pkg -target /"
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.