Quitting applications on InstallationCheck
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