$msgbox = MsgBox(1, "Start Client Setup", "Click OK when ready to Continue...") If $msgbox = 2 Then ;cancel pressed, stop script Else ;OK clicked ;rest of script EndIf directly from the help file, look at "Return values" OK - 1 Cancel - 2 Abort - 3 Retry - 4 Ignore - 5 Yes - 6 No - 7 Try Again - 10 Continue - 11 "Try Again" and "Continue" only work on Windows 2000/XP and above