Jump to content

Outpost Firewall Pro 3.5 (build 638/457)


Recommended Posts

Posted (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", "")

WEnd

ControlClick($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()

Exit

Func OPAdlib()

Select

Case WinExists("Error")

WinClose("Error")

Exit

Case WinExists($title2, "Please select Exit")

WinClose($title2)

WinWait($title2)

ControlClick($title2, "", "Button1")

MsgBox(262144, "Outpost Firewall", "Outpost Firewall is already installed.", 3)

Exit

EndSelect

EndFunc

Edited by scdd

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...