unclefishy Posted May 2, 2007 Share Posted May 2, 2007 Hello all... so is there an easier way to get this to wait for the files to unpack. the files are basically pretty large...over 200mb all together, so it takes it ahwile to unpack the self-extracting zip to the temp folder... and then i launch it to unpack it and since it is so big it takes a while... to extract all the files... the runwait, and waitwinactive... doen't seem to catch it... my only luck has been with varying sleep times... so i just need some 'best practices' i guress CODE$Program_1 = @TempDir & "\program-test1.exe" Sleep(5000) FileInstall("U:\scripts\others\program-test1.exe", $Program_1) Sleep(5000) Run($Program_1) Sleep(10000) RunWait(@COMSPEC & " /c Start " & @TempDir & "\program.msi") Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now