Jump to content

Recommended Posts

Posted

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?


Posted (edited)

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...