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
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now