Hi again!

After getting the files to copy to the users hard drive, I now have to 
check to see if a previously installed file is on the system already. 

I have been testing with BuddyAPI with the baFindFirstFile function, 
however I am not sure if I have got the scripting correct to get what I 
need to happen.

What I need to do is to check if a file exists, if it does take the 
user to a specific marker and pre-determined menu, if it doesnt then 
take the user to an alternative menu with the option to install this 
file... 

my script is contained in a movie script with a on startmovie handler;

on startMovie me

if baFindFirstFile("c:\" , "boo.exe") = true then
go to 5
else
go to 7
end if
end

(doesnt appear to do anything... and i get no errors on compiling the 
script)...

Secondly when I have done this, and the user has installed all the 
relevant files... I need to then delete the installation folder from 
the temporary location on the drive... can i use baDeleteFolder, and 
then can i set it so that the system will do a double check so that the 
files are definitely removed on reboot?

Cheers,

Dan ;)
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to