scdd Posted July 23, 2006 Posted July 23, 2006 (edited) add: WinWait($title1) like this$title1 = "Configuration Wizard"$title2 = "Outpost Firewall Pro Setup"$key1 = "HKEY_LOCAL_MACHINE\SOFTWARE\Agnitum\Outpost Firewall"$sn_p1 = "sn part 1"$sn_p2 = "sn part 2"$sn_p3 = "sn part 3"$sn_p4 = "sn part 4"$sn_p5 = "sn part 5"AdlibEnable("OPAdlib")Run("Outpost.exe /LANG=en /SP- /SILENT /NORESTART")WinWait($title1)ControlClick($title1, "", "Button5")$e = ControlCommand($title1, "", "Button5", "IsEnabled", "")While $e = 0$e = ControlCommand($title1, "", "Button5", "IsEnabled", "")WEndControlClick($title1, "", "Button5")WinWait($title1)ControlClick($title1, "", "Button10")RegDelete($key1, "RenewalDaysLeft")RegWrite($key1, "Key", "REG_SZ", $sn_p1&@LF&$sn_p2&@LF&$sn_p3&@LF&$sn_p4&@LF&$sn_p5)AdlibDisable()ExitFunc OPAdlib()SelectCase WinExists("Error")WinClose("Error")ExitCase WinExists($title2, "Please select Exit")WinClose($title2)WinWait($title2)ControlClick($title2, "", "Button1")MsgBox(262144, "Outpost Firewall", "Outpost Firewall is already installed.", 3)ExitEndSelectEndFunc Edited July 23, 2006 by scdd
MGadAllah Posted July 25, 2006 Posted July 25, 2006 ThanksEvery thing works greatJust the last screen stand for just seconds then disappearThanks
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