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?
Page 1 of 1
AutoIt Code Question
#3
Posted 02 September 2010 - 02:48 PM
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 ......
This post has been edited by iamtheky: 02 September 2010 - 02:49 PM
- ← AutoIt Help
- Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
- (CMD Batch) Help in set NTFS Permissions ,GPO & Folder Rediraction →
Share this topic:
Page 1 of 1



Help
Back to top








