Re: Quitting all foreground applications during install
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On 13/01/2006, at 8:44, Robert Simutis wrote: - rob.keniger _______________________________________________ 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... 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? This email sent to site_archiver@lists.apple.com
participants (1)
-
Rob Keniger