Re: Weird...
Re: Weird...
- Subject: Re: Weird...
- From: Dodger <email@hidden>
- Date: Mon, 16 Feb 2009 12:57:35 -0800
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 <email@hidden>:
> 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 $%&í up.
>
> --
> Dodger
>
--
Dodger
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Weird... (From: Dodger <email@hidden>) |