I would like to use the "Run after Termination:" field to launch a file
(not a problem); however, I only want to run it the first time on each
machine. If a certain directory already exists- C:\windows\program
files\myprog -, then I do not want the script to run.

The batch file would look like:
IF NOT EXIST c:\windows\program files\myprog GOTO RUNFILE
EXIT
:RUNFILE
#F:\myprog\mypatch
END

This doesn't seem to work for the application object. I believe I'm
supposed to use TERM at 1 or 0, but I'm not sure. Any help would be
appreciated.

Thanks,
Lance