site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Go it! I still think Apple needs some docs and some examples. Here's how I am checking to see if an app is running: 1) In the requirements tab I add a new requirement 2) In the "If" dropdown I select "Result of JavaScript" 3) for the function: I enter: app_check('Firefox') 4) In the script repository I enter: function app_check(str_to_check) { var my_apps = system.applications.all(); var len = my_apps.length; for(var i = 0; i < len; i++) { var app_value = my_apps[i]; if (app_value['BundlePath'] != undefined) { if(app_value['BundlePath'].indexOf(str_to_check) !=-1 ) { return false; } } } return true; } 5) I set the error message to the appropriate value. This check works in both the GUI and the CLI, so it will stop a silent install too. Monday I will test with puppet and I'm hopeful this will work. It would be nice if the install would give the user a chance to rectify the situation by giving the user the opportunity to quit the program in question. Any idea on how to do that? Thanks, Allan _______________________________________________ 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