Jump to content

AutoIt Code Question


Recommended Posts

I am creating a script to run my silent installer files from a specific location i.e. network folder and I would like to create a progress bar with autoit. this is my current script:

; Run the installer

RunWait("Dot_Net2_3_3.5.exe")

RunWait("firefox36.exe")

RunWait("avg90.exe")

RunWait("flashax10.exe")

RunWait("flashplug10.exe")

RunWait("java621.exe")

RunWait("reader93.exe")

RunWait("shockwave115.exe")

RunWait("cdbxp43.exe")

RunWait("klite630.exe")

RunWait("openoffice321.exe")

MsgBox(0+48, "Silent Installer", "Complete!")

Can anyone tell me how i could create a progress display such as: installing 1 of 11, 2 of 11 and so on?

Link to comment
Share on other sites


yup i would recommend something like


$n = <number of items>
$e = 100 / $n
progresson ("running", "")
progressSet ($e * 1 , "im doing step 1 of " & $n)
runwait ......
progressSet ($e * 2, "im doing step 2 of " & $n)
runwait ......

Edited by iamtheky
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...