Re: Quitting all foreground applications during install
Re: Quitting all foreground applications during install
- Subject: Re: Quitting all foreground applications during install
- From: Rob Keniger <email@hidden>
- Date: Fri, 13 Jan 2006 16:22:34 +0800
On 13/01/2006, at 8:44, Robert Simutis wrote:
I need to produce installers via PackageMaker which are capable of
closing all open foreground applications (aside from the Finder,
the Dock, and the Installer.app itself, of course), similar to the
option available in Installer VISE. The applications should all
prompt the user to save and come to the foreground in succession.
(I have a stopgap measure which uses the <installer-check> to look
for open apps via the JavaScript functions available in 10.4
installers, and if any are open it blocks the install, but this
really isn't good for the user experience.)
Is there a reliable way to close open applications with a
relatively low amount of code, or is there a flag in the .dist
scripts that I've missed in the docs that can do this?
Do you really, really need to do this? As a user this would have to
be one of the most annoying behaviours an installer can implement. It
is incredibly intrusive and your users will hate you for it.
Why not simply use the installer option to force a restart at the end
of the installation if you need to install shared components?
- rob.keniger
_______________________________________________
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