Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System reboot




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:
http://lists.apple.com/mailman/options/installer-dev/email@hidden

This email sent to email@hidden
References: 
 >System reboot (From: "Doru Carastan" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.