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:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=0GGRLOWTZvWSW0Z1wLDO1ploo08yvIeckb8xcLCPbDU=; b=Kb2J6twQFV8vQCjOr12skadpD0tirLtlz091vhhfcPfsMbPsoggfkvTo+lzPhViMSM H94HEStXjwbiwSqEJFOXzY7uf+PH8253RCPW5ZVs9tdy5/QbhaRBxwVqubyM1ritrQQ+ up7F1UjozOjtnbmk1B7XipDP7fzohrBCvg5IE= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Fjky44ijdWMP8rjzcSLzYibNMm3UJ3cheb+GhjGreCe2tlywmlNEnd7tq00VHQvHWx 9q4HV3xxdwRyNhzicIVYKOr/hii/6qFilEwSkLKHk4JS0j7ytcauy3mh647JC9FMhWzy Xum01bRR2QFrppIfqpygV4Syc2hfkMxRnoi0s= Aha! I found out what's going on! For some reason, the Volume Check script runs, but doens't block the ability to continue! Since the find call was taking so long, it was returning later. I tested it by putting in a sleep 10 in the script to see if it would tile itself out. It's not really timing out, it's just that it gets to the install section *before* the script has returned *at all* This is undesirable behaviour. The Volume Check script should complete before allowing the user to continue. Does anyone know of a way I can force this to happen? 2009/2/16 Dodger <el.dodgero@gmail.com>:
Attempted at a volume check perlscript that was to do the following:
- Run locate for folder, then check matching foldrs for prerequisite - OR Check standard assumed standard location folders specifically for prerequisite (in case not in locate db) - OR run find on whole drive (skipping things like /net that slow things down) looking for folders.
When it's found, write prereq location to /tmp/installinfo and return 0 Return 1 if it's not found and the file is not written
Preflight script set to consider 1 failure (because that's the right way to do it)
Here's the thing...
It's running the preflight script and returning successful in almost no time, but the file is not written. If I remove the slow find option, it works as it should, and if the file is not found it returns failed and thus displays the "sorry" message.
Any ideas anyone? It almost seems like the installer is timing out the script after a second and *assuming it was successful* Which is really $%&%ed up.
-- Dodger
-- Dodger _______________________________________________ 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