• 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: Displaying the Restart Dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying the Restart Dialog


  • Subject: Re: Displaying the Restart Dialog
  • From: Ian Ward Comfort <email@hidden>
  • Date: Thu, 14 Sep 2006 23:21:55 -0700

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:


osascript -e "tell application \"Finder\" to restart"

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.


—IWC

[1] http://developer.apple.com/documentation/DeveloperTools/ Conceptual/SoftwareDistribution4/SoftwareDistribution4.pdf (see pp. 41, 99)

_______________________________________________
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: 
 >Displaying the Restart Dialog (From: Jeff Looman <email@hidden>)

  • Prev by Date: Displaying the Restart Dialog
  • Next by Date: Invisible files
  • Previous by thread: Displaying the Restart Dialog
  • Next by thread: Invisible files
  • Index(es):
    • Date
    • Thread