Dim $title = "PGP 8.1"

Run("setup.exe")

WinWait($title)
ControlClick($title, "", "Button1")

WinWait($title,"License Agreement", 5)
ControlClick($title, "License Agreement", "Button2")

WinWait($title,"Read Me", 5)
ControlClick($title, "Read Me", "Button2")

WinWait($title,"User Type", 5)
ControlClick($title, "User Type", "Button2")
ControlClick($title, "User Type", "Button11")

WinWait($title,"Install Directory", 5)
ControlClick($title, "Install Directory", "Button1")

WinWait($title,"Select Components", 5)
ControlClick($title, "Select Components", "Button2")

WinWait($title,"Start Copying Files", 5)
ControlClick($title, "Start Copying Files", "Button1")

WinWait($title,"install complete", 30)
ControlClick($title, "install complete", "Button1")
ControlClick($title, "install complete", "Button4")