site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Oct 15, 2007, at 10:43 AM, Bryan Hansen wrote: I'm looking for a way to ask the user to quit an application before installing. Is this possible with package maker? In Tiger-based installs, you can write some javascript to throw an error if the app is running by checking system.applications.fromIdentifier. If it returns non-null, that app is running. In earlier scripts, in your InstallationCheck you can check the results of the shell command "killall -s" Apple does stuff like this a lot. We used to use ps -aux, but killall is easier to work with. Apple sometimes uses a helper app to pop up an alert asking the user to quit, but I don't recommend that for your installers because it's way better to let the user know right away, during InstallationCheck phase. (We HAVE to use the alert for various reasons related to Software Update.) _______________________________________________ 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... This email sent to site_archiver@lists.apple.com