1bobby Posted December 10, 2007 Share Posted December 10, 2007 sleep(500) RunWait("\\troi\apps2$\Flash_Shockwave_bundle\install_flash_player_active_x.msi /quiet") Sleep(500) Trying to run the above script to install a program in a new computer. The command will run from the windows manual run box, and will install the program in quiet mode. I get the following error when trying to install it in script. "C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "F:\PCSetup\test.au3" /autoit3dir "C:\Program Files\AutoIt3" /UserParams +>15:41:53 Starting AutoIt3Wrapper v.1.9.2 >Running AU3Check (1.54.9.0) from:C:\Program Files\AutoIt3 +>15:41:53 AU3Check ended.rc:0 >Running:(3.2.8.1):C:\Program Files\AutoIt3\autoit3.exe "F:\PCSetup\test.au3" F:\PCSetup\test.au3 (2) : ==> Unable to execute the external program.: RunWait("\\troi\apps2$\Flash_Shockwave_bundle\install_flash_player_active_x.msi /quiet") ->15:41:53 AutoIT3.exe ended.rc:1 +>15:41:55 AutoIt3Wrapper Finished Not too sure what is going on, or what I am doing wrong bobby Link to comment Share on other sites More sharing options...
Nahuel Posted December 10, 2007 Share Posted December 10, 2007 You could try using ShellExecuteWait() Link to comment Share on other sites More sharing options...
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