• 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: making an installed application run at startup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making an installed application run at startup


  • Subject: Re: making an installed application run at startup
  • From: Jason Proctor <email@hidden>
  • Date: Tue, 13 Jan 2009 13:54:18 -0800

For (1), you can't run any application during boot time if it includes a User Interface and one of the solutions is to use LaunchDaemons.

For (2), you have 3 solutions:

- add the application to the LoginItems

- use a LaunchAgent

- use another API you can get information on by contacting DTS.

thanks for the response.

sorry for not being clear; i meant the app should run on login for the user who ran the installer.

another responder suggested using defaults or PListBuddy to add an entry to ~/Library/Preferences/loginwindow.plist . ideally there would be a more elegant solution.

for the first option, would I create a symlink or alias to ~/LoginItems to the application? this is going to get done in a postinstall script (unless there's a better place for it).

thanks for any help with this,
j

_______________________________________________
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: 
 >making an installed application run at startup (From: Jason Proctor <email@hidden>)
 >Re: making an installed application run at startup (From: email@hidden)

  • Prev by Date: Re: making an installed application run at startup
  • Next by Date: Re: making an installed application run at startup
  • Previous by thread: Re: making an installed application run at startup
  • Next by thread: Re: making an installed application run at startup
  • Index(es):
    • Date
    • Thread