do sheel script installer
do sheel script installer
- Subject: do sheel script installer
- From: Jeremy Matthews <email@hidden>
- Date: Wed, 12 Apr 2006 10:44:53 -0400
I keep getting this option when trying to run shell scripts to install from the command line:
"AppleScript Error:
installer: invalid option OS"
Syntax is:
"installer -pkg /Volumes/My\ Installer\ DVD/MyApp.pkg -target /"
Now, this works fine in terminal, but I do some POISX path conversion so Applescript will accept a path to a volume that has spaces in the title.
----
set myposixpath to "My Installer DVD"
do shell script "installer -pkg /" & myposixpath & "MyApp.pkg -target /"
------
And, it still fails with that error...
Any ideas?
Of course, I'm open to any AppleScript commands to install packages instead of wrapping up shell scripts in AppleScripts...
Thanks,
jeremy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden