• 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
Quitting applications on InstallationCheck
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quitting applications on InstallationCheck


  • Subject: Quitting applications on InstallationCheck
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 19 Jul 2007 16:42:48 -0500

I want to quit an application before I overwrite it or its preferences. At present, I have preinstall/preupgrade simply use osascript to quit the application.

This is not a good experience, as having the application save or not save its documents will be wrong some of the time; and having it ask leaves the possibility the user will cancel the quit.

The better thing to do would be to stall the installation until the user quits the application. I've seen Apple Software Update installers refuse to proceed unless, for instance, iTunes has been quit; it posts an alert with the objection, and reasserts it so long as iTunes is running.

I gather from Googling lists.apple.com that this is a problem with a known solution, which has been discussed extensively and optimized. This sounds better than my Braille-ing it out for myself, but I can't get that solution out of Google. Can someone please refer me to it?

	— F

_______________________________________________
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


  • Follow-Ups:
    • Re: Quitting applications on InstallationCheck
      • From: Bill Coderre <email@hidden>
  • Prev by Date: Re: setuid tool - repair permissions
  • Next by Date: Re: Quitting applications on InstallationCheck
  • Previous by thread: Re: setuid tool - repair permissions
  • Next by thread: Re: Quitting applications on InstallationCheck
  • Index(es):
    • Date
    • Thread