Mac OS X Silent Install

How do you run a silent install on Mac using the .sh file generated on urbackup?
There seems to be a --quiet option on the script, but when I use it I get:
“line 491: ./ no such file or directory”

not sure what is the “”

I just want to install urbackup client remotely, from command line, unattended.
Is this possible?

sh -- silent should work.

That work, thanks, it works locally, but if I run it via script remotely, I get:
LSOpenURLsWithRole() failed with error -10810
I think it needs “sudo” to install, not sure how I could specify that.

The full error I get is:
Uncompressing UrBackup Client Installer for Mac OS X
0% 76% 100% LSOpenURLsWithRole() failed with error -10810 for the file /private/tmp/selfgz6016791/final.pkg.
But that file is actually not getting created on that path.
I think I need permissions, but Im not sure how to do that remotely.