• 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
Re: PackageMaker and scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PackageMaker and scripts


  • Subject: Re: PackageMaker and scripts
  • From: Stéphane Sudre <email@hidden>
  • Date: Tue, 07 Aug 2012 07:29:42 +0000
  • Acceptlanguage: en-US
  • Thread-topic: PackageMaker and scripts

On Aug 6, 2012, at 10:49 PM, Donald Hall wrote:

> The PackageMaker documentation doesn't state what kinds of scripts I can use as a post install script.
>
> Does it have to be a shell script or can I use AppleScript?

It can be a shell script or an executable. Some people are using AppleScript scripts too.

But I would not recommend using AppleScript as you would probably be talking to the Finder.

What if the Finder is not running (such as when you remotely install your package or/and when no user is logged in)?

> I need to change the name of a support file on the systems of my existing clients and I have an AppleScript script that does this. I'd like to automatically run it after my app is installed.

I would go with a shell script.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >PackageMaker and scripts (From: Donald Hall <email@hidden>)

  • Prev by Date: Re: PackageMaker and scripts
  • Next by Date: Proper way to uninstall Xcode 3
  • Previous by thread: Re: PackageMaker and scripts
  • Next by thread: Re: Xcode SPOD after upgrade the Lion 10.7.4
  • Index(es):
    • Date
    • Thread