• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
do sheel script installer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: do sheel script installer
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: Replace names of files in different folders
  • Next by Date: Re: do sheel script installer
  • Previous by thread: get URL of podcast in iTunes?
  • Next by thread: Re: do sheel script installer
  • Index(es):
    • Date
    • Thread