Jump to content

Recommended Posts


Posted

I've had the same problem, try:

;pass configuration wizard screen
Sleep(2000)
WinWaitActive("Configuration Wizard")
WinActivate("Configuration Wizard")
Send("{ENTER}")

Good Luck!

  • 2 weeks later...
Posted
it wont go passed the agreement window, I have to manually agree then it goes on by itself

???

that it's strange because normally most of autoit scripts (and mine) block the input

Posted (edited)

Maybe this can help

; AutoIt Version:  3.0.102
; Language:  English
; Platform:  Win9x / NT
; Author:  nateklomp
; Script Function:  Install Agnitum Outpost Firewall Professional v2.1.303.314
Run("outpost.exe")
Sleep(5000)
WinWaitActive("Welcome")
WinActivate("Welcome")
ControlClick("Welcome","","Button1")
WinActivate("License Agreement for Outpost Firewall 2.1")
ControlClick("License Agreement","","Button3")
WinActivate("License Agreement for Outpost Firewall 2.1")
Send("N")
WinWaitActive("Read Me File")
WinActivate("Read Me File")
ControlClick("Read Me File","","Button1")
WinWaitActive("Choose Destination Location")
WinActivate("Choose Destination Location")
ControlClick("Choose Destination Location","","Button1")
WinWaitActive("Start Installation")
WinActivate("Start Installation")
ControlClick("Start Installation","","#327701")
ControlClick("Start Installation","","Button1")
Sleep(5000)
WinWaitActive("Auto-configuration")
WinActivate("Auto-configuration")
ControlClick("Auto-configuration","","Button1")
WinWaitActive("Application")
WinActivate("Application")
ControlClick("Application","","Button6")
WinActivate("Application")
ControlClick("Application","","Button1")
WinWaitActive("Network")
WinActivate("Network")
ControlClick("Network","","Button6")
WinActivate("Network")
ControlClick("Network","","Button1")
WinWaitActive("Installation Complete")
WinActivate("Installation Complete")
ControlClick("Installation Complete","","Button1")
WinWaitActive("Install")
WinActivate("Install")
ControlClick("Install","","Button3")
EXIT

edit: corrected

Edited by SiMoNsAyS
Posted

has someone found any workaround on using other methods than using sleep to force a delay of the script? im worried if having a long sleep would seem like a halt on faster PCs while a quick sleep would break the script on slower PCs.

Posted

Its not really important since there is lines for "WaitWin" and others.

That way it will wait for the window so a faster pc wont idle not enought.

Posted

my worry for the new outpost 2.5 beta installation is that it uses the same window (both title and contents) for installing and prompting the user to continue. i wonder how will autoit differentiate the part where the buttons (next, back, cencel) are grayed out coz its installing itself and when the buttons become visible (once the copying of the file ends).

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
  • Recently Browsing   0 members

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