Shawndt Posted February 17, 2010 Posted February 17, 2010 Good Morning Gents, Can anyone tell me why when I run WINDOWS XP SERVICE PACK 3 manually, it shows me the progress bar as it is installing. Yet when I automate it with Autoit it does not. I have included the code below. Do I need to add something in my code to prevent it from happening? I cannot tell when it is done or where it is in the install without see the progress bar. Does using Autoit change it some how? $WinTitle4 = "Software Update Installation Wizard" Run("D:\automation\WindowsXP-SP3-x86.exe") WinWait("Extracting Files") WinWait($WinTitle4) sleep(2000) Controlsend($WinTitle4, "","", "{ENTER}") Sleep(2000) WinWait($WinTitle4, "license agreement") ControlClick($WinTitle4, "", "[ID:11009]") ControlClick($WinTitle4, "", "[ID:12324]") ControlClick($WinTitle4, "", "[ID:12324]") ControlClick($WinTitle4, "", "[ID:12325]") Sleep(4000)
JohnOne Posted February 17, 2010 Posted February 17, 2010 Probably need to add a few WinActivate() in. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
weaponx Posted February 17, 2010 Posted February 17, 2010 Don't even bother with Win*() functions. Use RunWait() and install it silently like a real man. http://support.myteks.net/xp-sp3-silent-install
JohnOne Posted February 17, 2010 Posted February 17, 2010 lol :real man smiley: AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
JohnOne Posted February 17, 2010 Posted February 17, 2010 On 2/17/2010 at 5:26 PM, 'Shawndt said: Where do you think they should go?After winwait() AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
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