scdd Posted December 4, 2006 Posted December 4, 2006 $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, "Advanced security")ControlClick($title1, "", "Button5")WinWait($title1, "Help Agnitum make program better")ControlCommand($title1, "", "Button1", "UnCheck", "")ControlClick($title1, "", "Button8") $e = ControlCommand($title1, "", "Button9", "IsEnabled", "")While $e = 0$e = ControlCommand($title1, "", "Button9", "IsEnabled", "")WEndControlClick($title1, "", "Button9")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")AbortOP()MsgBox(262144, "Outpost Firewall", "Outpost Firewall is already installed.", 3)ExitCase WinExists($title2, "Warning! The following firewall")AbortOP()ExitCase WinExists($title1, "Some applications that can cause system stability issues")ControlClick($title1, "", "Button2") EndSelectEndFuncFunc AbortOP()WinClose($title2)WinWait($title2)ControlClick($title2, "", "Button1")EndFunc
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