0
I am in a situation where I was informed very late that a program we use to track inventory will have it's EOL October 31st. We have about 400 Mac computers where we have to uninstall the old version (not necessary but proper) and install the newest one. I am looking to use ARD for this (Apple Remote Desktop) but need to get the script working first.
Jampf isn't an option due to cost. I am not a Mac person and I'm finding out that batch files are specifically a Windows thing. Below is the script that was suggested on the forums. I have the file saved on a Network Share. I'll show the Unix command that was suggested and the one I'm trying to use with obvious substitutions.
Suggested:
cd /Users/Shared/ ; curl -k -O https://server.hostingyourfiles.com/samanage.zip ; unzip samanage.zip ; /Users/Shared/samanage/Samanage_Agent_*.app/Contents/MacOS/installbuilder.sh --mode unattended ; rm -rf /Users/Shared/samanage/
Mine:
cd /Users/Shared/ ; curl -k -O smb://word.word/word/word Mac/Samanage_Agent_1.1.72_1.1.37_203_30_installer ; unzip samanage.zip ; /Users/Shared/samanage/Samanage_Agent_*.app/Contents/MacOS/installbuilder.sh --mode unattended ; rm -rf /Users/Shared/samanage/
With the above, I am getting the following errors when I paste the Unix command in the terminal:
curl:(67) login denied
curl: (6) Could not resolve host: Mac
unzip: cannot find or open samanage.zip
-bash /users/shared/samanage/smanage_agent app/contents/macos/installbuilder.sh: no such file or directory
Does it have to be a URL? Is using a script even the most efficient method using ARD? Would I be able to just push the new install using ARD without a script? Should I bypass all of this and email the installer to users? Excuse my ignorance on this subject and thanks in advance for any help.