site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version :content-transfer-encoding:message-id:content-type:to:from:subject :date:x-mailer; bh=2QtWeRQxDBieMMhWV9jZIc+fSguTSAjFinh0l+6s424=; b=Z9rMFkeZNS0ZMB4IaZ0dnjDBXtVFarRB0RY7+ZAN5MXcohlhmVhh/PiuuigHnWtaYy WNh46UQOM14LYZcnLRFBuaGfJC1PqFo8YL9aW+zGuzah1MAQrXKJYAjCvakLmS6UkjvO wpsvol110l+FVIRqYzKrNCpvQdaryKn4ebECc= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to :from:subject:date:x-mailer; b=PmDNWrlhHOB9EfgHI5oaPv+BVdUbTF1O7xS0yDTPgq3V4u4sF+B/FQP8sojT7fjDvX 5oj8KrpZ/Ll8pGGS7b686LXlexNR5r0hB/rZuzYfC1bILT3tbQU7RNzK2JNPAVrTdgVg 1paKoV37mbYoYdLuSMN9vxFSI8YcL8dDz5gjM= Considering the following source: var tReturnValue; try { tReturnValue=system.run("echo3","testEcho"); } catch(e) { system.log("exception raised"); tReturnValue=undefined; } finally { system.log(tReturnValue); if (tReturnValue==undefined) { system.log("function not found"); } else { system.log("function found"); } return true; } 1. Why not: Report the script has not been found 2. Problem: Does not raise an exception 3. problem: Return a value that is different from "undefined". Mar 15 18:32:07 Selene : JS: -1517380040 Mar 15 18:32:07 Selene : JS: function found allow-external-scripts is of course set to true _______________________________________________ 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... and the fact that echo3 is not part of the Resources folder of a distribution script, is it not a bug that Installer.app does this? Mar 15 18:32:07 Selene : Error while running task /Users/stephane/ test10/build/test10.mpkg/Contents/Resources/echo3 launch path not accessible This email sent to site_archiver@lists.apple.com