Re: launching app post-install in leopard
Re: launching app post-install in leopard
- Subject: Re: launching app post-install in leopard
- From: "Adam Fisk" <email@hidden>
- Date: Wed, 28 Nov 2007 21:33:29 +0530
Interesting. Sounds very promising, Martin -- thanks. I'll give it a try.
-Adam
On Nov 28, 2007 7:41 PM, Martin Bestmann <email@hidden> wrote:
>
> On 27.11.2007, at 13:16, Adam Fisk wrote:
>
> > Someone mentioned the issue with not being able to call "open
> > myApp.app" in a postflight script because Leopard notices it's
> > downloaded from the Internet. I'm seeing the same thing with
> > launchctl.
> >
> > Anyone know a way to launch your program after the install on Leopard?
> >
> > Thanks very much.
>
> The problem is that Apple attaches to those files coming from the
> internet an extended attribute. Run this from terminal to see it
>
> xattr -l myApp.app
>
> Once attribute is removed with
>
> xattr -d com.apple.quarantine myApp.app
>
> You can launch it without user interaction.
>
> Hope this helps,
>
> Martin
>
> PS.: Apple heavily uses now extended attributes for various things in
> Leopard.
>
--
http://www.littleshoot.org
Open Source, Open Standards, Open Data
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden