tijiez Posted March 28, 2007 Share Posted March 28, 2007 Copying the path and switches to the command line and this runs fine. Also, AutoIt does not complain about not finding the file. However, it's not running the file. Am I doing something wrong or is there a limit on parameters? Func avg() RunWait(@ScriptDir & "\installers\avg75free_446a965.exe /HIDE /DONT_START_APPS /NO_WELCOME /QUIT_IF_INSTALLED", "", @SW_HIDE) EndFunc Link to comment Share on other sites More sharing options...
Valuater Posted March 28, 2007 Share Posted March 28, 2007 (edited) alot of these have todo with spacing and quotes maybe, give this a try Func avg() Local $File = @ScriptDir & "\installers\avg75free_446a965.exe" If FileExists($File) Then RunWait($File & " /HIDE /DONT_START_APPS /NO_WELCOME /QUIT_IF_INSTALLED", "", @SW_HIDE) Else MsgBox(64,"Sorry", $File & " does not exist", 5) EndIf EndFunc oÝ÷ Ø l¢+fk*Þªè«zØ^Âäx·¶òjëh×6 RunWait($File & " /HIDE /DONT_START_APPS /NO_WELCOME /QUIT_IF_INSTALLED", @WorkingDir, @SW_HIDE) 8) Edited March 28, 2007 by Valuater 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