I figured out how to automate the path with VBS, it's dirty, but it works. You may have to change the "Sleep" timer for slower systems. I created 2 files Install_Survey.bat and Install_Survey.vbs (ideally, you don't need the bat file though). Install_Survey.bat @ECHO OFF REM -- Be Sure To Change This To The Correct Path cscript "X:\Survey\Install_Survey.vbs Install_Survey.vbs Set WshShell = WScript.CreateObject("WScript.Shell") ' *** Make Sure to update this path to the correct executable (hopefully you not rename it from the orginal) WshShell.Run "X:\Survey\Survey123_x86_2_4_72.exe" Wscript.Sleep 1500 ' *** Make Sure this has the same name as the file minus the .exe ' *** - If the script is not working - Launch the install file by hand. ' *** - When it loads, find it's icon on the task bar, right click and read to top line... ' *** - That's what this should be set to here. I believe it should match the file name. WshShell.AppActivate "Survey123_x86_2_4_72" Wscript.Sleep 1500 WshShell.SendKeys "{ENTER}" Wscript.Sleep 1500 WshShell.SendKeys "^a" Wscript.Sleep 1500 ' *** Update this to where you want the files to actually go. WshShell.SendKeys "C:\ESRI\Survey123" Wscript.Sleep 1500 WshShell.SendKeys "{ENTER}" Wscript.Sleep 1500 WshShell.SendKeys "{TAB}" Wscript.Sleep 1500 WshShell.SendKeys " " Wscript.Sleep 1500 WshShell.SendKeys "{ENTER}" Wscript.Sleep 1500 WshShell.SendKeys "{ENTER}" Wscript.Sleep 1500 WshShell.SendKeys "{ENTER}" ' --- I get an error at the end of my install, so I need these next 4 lines - otherwise comment them out. Wscript.Sleep 20000 WshShell.SendKeys "{TAB}" Wscript.Sleep 1500 WshShell.SendKeys "{ENTER}" Wscript.Sleep 3000 WshShell.SendKeys "{ENTER}" You then run the bat file. Or you can simply double click the vbs file. You may have to adjust accordingly, but it basically walks through then install as if you were to manually do it by hand. You can use the same method for Surver123 Connect.
... View more