Re: Installer launched by launchd 10.6/10.7 difference.
Re: Installer launched by launchd 10.6/10.7 difference.
- Subject: Re: Installer launched by launchd 10.6/10.7 difference.
- From: Stephane Sudre <email@hidden>
- Date: Tue, 10 Jul 2012 09:13:44 +0200
This looks like opening an AppKit application from a launchd daemon.
The contexts are not the same. It should not work. And the issue is
that your application would be launched with the root uid. Which is
not a good idea.
A possible workaround may be to install a launchd agent triggered by
file changes and trigger the launch agent by touching a file at the
end of the installation. But this depends on what you are trying to
accomplish.
On Tue, Jul 10, 2012 at 4:47 AM, Rustam Muginov <email@hidden> wrote:
> I have an installer (with admin authorization) which does using "Open
> Application" action after install.
> If i run this package from Apple Installer of from terminal using
> "installer" command, it working ok.
> If i launch installer command from launchd daemon, the "Open Application"
> action fails on 10.7 while working on 10.6.
>
> Could anyone advice on how could I launch open the UI application while
> launching installer from daemon?
> Thank you.
_______________________________________________
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