Run("D:\Setup.exe") WinWait("InstallShield Wizard", "Welcome to the InstallShield Wizard for ArcGIS") ControlClick("InstallShield Wizard", "Welcome to the InstallShield Wizard for ArcGIS", "Button1") WinWait("InstallShield Wizard", "Choose Destination Location") ControlClick("InstallShield Wizard", "Choose Destination Location", "Button1") WinWait("InstallShield Wizard", "InstallShield Wizard Complete") ControlClick("InstallShield Wizard", "InstallShield Wizard Complete", "Button4") ShellExecute("explorer.exe", "C:\DigitalCity", "", "", @SW_MAXIMIZE)