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

Re: System reboot


  • Subject: Re: System reboot
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 14 Feb 2008 23:09:38 +0100


On Feb 14, 2008, at 10:21 PM, Doru Carastan wrote:

I have an installer in which I need to ask for a reboot _only_ if it fails to
unload some kexts during upgrade. Is there a way to pop up the reboot dialog
based on conditions detected in the preflight/postflight scripts?

No and Yes (or maybe).

The "on success post installation behavior" is not dynamic AFAIK: your package either requires/recommends a restart or not.

What could be possible to do is to use you own reboot dialog.

2 solutions:

(a) you call an helper app from your postflight script.

(b) you use an installer plugin that you put after the Install step.

(b) can be nicer but, please, remember that an installer plugin won't be displayed through an ARD install or the installer command line tool (or that anyone can remove the plugin from the package bundle).



_______________________________________________
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: 
 >System reboot (From: "Doru Carastan" <email@hidden>)

  • Prev by Date: Re: System reboot
  • Next by Date: PackageMaker 3.0.1 problems
  • Previous by thread: Re: System reboot
  • Next by thread: PackageMaker 3.0.1 problems
  • Index(es):
    • Date
    • Thread