• 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: Understanding RunAtStartup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Understanding RunAtStartup


  • Subject: Re: Understanding RunAtStartup
  • From: Iceberg-Dev <email@hidden>
  • Date: Sun, 15 Feb 2009 00:11:42 +0100


On Feb 14, 2009, at 10:06 PM, Fred Licht wrote:

Thanks for the replying. I know and understand what this RunAtStartup purpose is. I am asking if anyone knows what the installer does to the system to prepare for the script to run at start. Does it create a startup item, enable a launchd script, put the script in a special location for the reboot to use.

-Fred

On Feb 14, 2009, at 4:10 AM, Iceberg-Dev wrote:


On Feb 14, 2009, at 1:56 AM, Fred Licht wrote:

Hey Everyone,
I know that Apple's installer will respect the "RunAtStartup" script for an installer script. Does anyone know what actually happens with that script and where it is placed to be run at boot time?

IIRC, this script is launched on the next restart.

It is only launched if:

- you required root authentication for the package

- the package requires a restart.

For the location, you can use fs_usage to check where the file will get installed. This may require a remote connection as Installer.app may or may not copy this file after the user has been logged out.

Again, your best bet is to install a package with a RunAtStartup script.

Since it's a script, you should be able to modify it to log information that could prove useful.

You could also try playing with the ENABLE_RUNNER_DEBUGGING env.




_______________________________________________ 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: 
 >Understanding RunAtStartup (From: Fred Licht <email@hidden>)
 >Re: Understanding RunAtStartup (From: Iceberg-Dev <email@hidden>)
 >Re: Understanding RunAtStartup (From: Fred Licht <email@hidden>)

  • Prev by Date: Re: Understanding RunAtStartup
  • Next by Date: Re: updaters
  • Previous by thread: Re: Understanding RunAtStartup
  • Next by thread: Annoying trade-off in user interface
  • Index(es):
    • Date
    • Thread