PDA

View Full Version : Timing of File Search Variables


Kendall Anderson
03-09-2000, 12:59 AM
Setup Factory v5.0.0.5

Is there any way to choose when a File Search Variable is evaluated? My experience to date shows that SF attempts to evaluate it immediately upon launching.

I have a condition where after the install, I launch an executable which, when complete, would like to pass a result back to the installer. I thought I'd do this by having my executable create either a Pass.txt or Fail.txt and have SF search for either file. However, these files will only exist after the main installation and I cannot see a way to evaluate a File Search Variable at that point in time.

Any thoughts? (or is this one for the wishlist?)

Thanks,
Kendall Anderson
kendall@jackdigital.com

Ted
03-13-2000, 10:02 AM
You are correct that the File Search variables are evaluated at startup. If you are executing a program and want to return a value, the best thing is to write it out the registry. All registry values are reevaluated after an execute command is performed.

Ted