site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com osascript -e "tell application \"Finder\" to restart" —IWC _______________________________________________ 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: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... On Sep 14, 2006, at 3:46 PM, Jeff Looman wrote: I am trying to display the standard Restart dialog from within a postflight script during a Jaguar installation of my application. I have had success in getting the workstation to reboot using: but alas, no dialog. I have read several documents on the subject but have not been able to find a way to display said dialog. Has anyone had any success getting the dialog to appear from within a shell script? The preferred way of "enforcing" restarts after a package install is to set an appropriate post-install action in PackageMaker. Is the IFPkgFlagRestartAction key not respected in Jaguar? This document [1] seems to suggest that it is, though I could find no definitive evidence. [1] http://developer.apple.com/documentation/DeveloperTools/ Conceptual/SoftwareDistribution4/SoftwareDistribution4.pdf (see pp. 41, 99) This email sent to site_archiver@lists.apple.com
participants (1)
-
Ian Ward Comfort