Jump to content
Sign in to follow this  
testbytest

when i used fileinstall

Recommended Posts

testbytest

i use fileinstall

when it extracting

how did show extracting GUI

thanks

Share this post


Link to post
Share on other sites
Airwolf

I don't know of any way to display progress based on the FileInstall function, but you could always throw a splash (SplashTextOn) screen up before the FileInstall and then SplashOff after.


Certifications: A+, Network+, Security+, Linux+, LPIC-1, MCSA | Languages: AutoIt, C, SQL, .NETBooks: AutoIt v3: Your Quick Guide - $7.99 - O'Reilly Media - September 2007-------->[u]AutoIt v3 Development - newbie to g33k[/u] - Coming Soon - Fate Publishing - Spring 2013UDF Libraries: SkypeCOM UDF Library | ADUC Computers OU Cleanup | Find PixelChecksumExamples: Skype COM Examples - Skype4COMLib Examples converted from VBS to AutoIt

Share this post


Link to post
Share on other sites
Richard Robertson

There is no way to run code while FileInstall is running. Any GUI you create will become unresponsive until the command finishes.

Share this post


Link to post
Share on other sites
DexterMorgan

i don't think that is what he means, (of course there is a 99% chance Im wrong)

do you want something like this?

ProgressOn("Extracting","Extracting Files","Extracting somefile.exe")
FileInstall("somefile.exe",@tempdir & "/somefile.exe")
ProgressSet(10,"Extracting Someotherfile.exe")
FileInstall("Someotherfile.exe",@tempdir & "/Someotherfile.exe")
; ... So On....
ProgressSet(100,"Done Extracting!")
sleep(1000)
ProgressOff()

code

Share this post


Link to post
Share on other sites
Richard Robertson

It sounded like he wanted some indicator of extraction progress.

Share this post


Link to post
Share on other sites
DexterMorgan

It sounded like he wanted some indicator of extraction progress.

yea after reading it over, I understood :mellow:

when it extracting

how did show extracting GUI

and

I don't know of any way to display progress based on the FileInstall function

lol

see 99%


code

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.