Jump to content
Sign in to follow this  
1bobby

Can't run program

Recommended Posts

1bobby

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

Share this post


Link to post
Share on other sites
Nahuel

You could try using ShellExecuteWait()

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.