The above image is on putting the finder tool on the button, I am trying to click next and begin the installation steps , my code so far is included below i have looked at forums on the site already.
#include <MsgBoxConstants.au3>
Example()
Func Example()
; Run Notepad
Local $iReturn = ShellExecuteWait("C:\Users\1ds9188\Desktop\Pulseway Clients\JHCH_EndUserPC_agent_x64.msi")
; Wait 10 seconds for the Notepad window to appear.
WinActivate("[CLASS:MsiDialogCloseClass]")
If WinActive("[CLASS:MsiDialogCloseClass]") Then ; Check if Notepad is currently active.
; MsgBox($MB_SYSTEMMODAL, "", "WinActive" & @CRLF & "Pulseway is active.")
ControlClick("[CLASS:MsiDialogCloseClass]", "", "&Next >")
Else
MsgBox($MB_SYSTEMMODAL, "", "Pulseway Popup" & @CRLF & "Pulseway is not active.")
EndIf
EndFunc ;==>Example