Mac Software Distribution

(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.

(imported comment written by JackCoates91)

if you go to the test system, is the mpkg still valid? Terminal, sudo sh, installer -pkg the mpkg and see if there’s an error. I suspect it’ll have invalid attributes.

(imported comment written by nmelanson91)

I tried this and it only worked once:

  1. Went to Sudo SH

  2. Installer -pkg packagename.mpkg -target system

Is it normal to put the -target system? And will this target be consistent across all systems?

Thanks again for your help.

(imported comment written by JackCoates91)

Hi, it looks like it transferred okay then, and the problem is in the relevance. I suggest that you ping support, this might be a problem with the wizard.