(imported topic written by nmelanson91)
I am new to the Mac software distribution piece and having issues with a install of a agent for our backup solution. It downloads the dmg file successfully, mounts it but does not seem to do anything else. Does anyone see anything wrong with my calls below?
download http://**************:52311/bfmirror/downloads/connected/003/003.dmg
wait hdiutil attach -quiet -private -mountpoint “/Volumes/003” “{posix path of file “003.dmg” of folder “__Download” of client folder of current site}”
wait rm -rf “{posix path of client folder of current site & “/__Download/AgentSetup.mpkg”}”
wait cp -r “/Volumes/003/AgentSetup.mpkg” “{posix path of client folder of current site & “/__Download/AgentSetup.mpkg”}”
wait installer -pkg “{posix path of client folder of current site & “/__Download/AgentSetup.mpkg”}” -target
Thank you all for your help.