Jump to content
Sign in to follow this  

simple fix i am sure

Recommended Posts


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

$Program_1 = @TempDir & "\program-test1.exe"


FileInstall("U:\scripts\others\program-test1.exe", $Program_1)




RunWait(@COMSPEC & " /c Start " & @TempDir & "\program.msi")

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this