Re: PackageMaker and scripts
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