Cmack Posted January 15, 2014 Posted January 15, 2014 Just starting on AutoIT. I'm just wanting to call a setup.exe but it never launches Run("clientsetup.exe") ; launch clientsetup.exe I'm running the AutoIT EXE from the same directory as the clientsetup.exe is located. I also tried using the full path where clientsetup.exe is located. I see the AutoIT icon in the systray, and it is paused. What am I missing here? Craig
Bearpocalypse Posted January 15, 2014 Posted January 15, 2014 Can you post an example of you code? It would help a bunch.
jdelaney Posted January 15, 2014 Posted January 15, 2014 (edited) If you click the tray icon, your script will stop executing. Is it flashing a red X? Unpause it. Also, add some debugging: If Not Run("clientsetup.exe") Then MsgBox(1,1,"Failed to Run " & @WorkingDir & "\clientsetup.exe") EndIF If the exe will ALWAYS be in the same dir as the script: If Not Run(@ScriptDir & "\clientsetup.exe") Then MsgBox(1,1,"Failed to Run " & @ScriptDir & "\clientsetup.exe") EndIF Edited January 15, 2014 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now