• 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: Installer launched by launchd 10.6/10.7 difference.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Installer launched by launchd 10.6/10.7 difference. (From: Rustam Muginov <email@hidden>)

  • Prev by Date: Unable to apply Custom Icon to Flat package
  • Next by Date: Re: Unable to apply Custom Icon to Flat package
  • Previous by thread: Installer launched by launchd 10.6/10.7 difference.
  • Next by thread: Unable to apply Custom Icon to Flat package
  • Index(es):
    • Date
    • Thread