smti Posted August 6, 2012 Share Posted August 6, 2012 Hi Folks,I am attempting to automate the installation of Vipre Anti-virus 5.0. Here is my problem: I need to be able to determine when the installation has completed. Once it has, other steps need to be executed. In an effort to ascertain whether the installation is complete, I am trying to read the percentage complete from the integrated progress bar. It seems that my variable $InstallProgress always returns 0 as the valueUsing the window tool, I was able to verify the following:Control ID of progress bar: 1053Class: msctls_Progress32; Now we need to determine the value of the progress bar: Do $InstallProgress = GUICtrlRead(1053) MsgBox(0, "Install Progress...", "Install % is: " & $InstallProgress) Until $InstallProgress = 100; ; Once Vipre is open -- Go to help --> Register and enter the key. WinWait("VIPRE Antivirus","CNavFrameMainDlg") WinMenuSelectItem("VIPRE Antivirus","CNavFrameMainDlg","&Help","&Register...") WinWait("VIPRE Registration","&Buy Now...")Any assistance you could provide with regard to determing the value of the progress bar OR whether the installation is complete would be greatly appreciated!Thanks,smti Link to comment Share on other sites More sharing options...
DarkDeveloper Posted August 6, 2012 Share Posted August 6, 2012 (edited) I am using the RunWait and then verifying install with registry keys or files that didn't exist before the install. Edit: Edited August 6, 2012 by DarkDeveloper Link to comment Share on other sites More sharing options...
Zedna Posted August 6, 2012 Share Posted August 6, 2012 I am trying to read the percentage complete from the integrated progress bar.Look here Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now