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 <rmuginov@gmail.com> 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com