Jump to content

Recommended Posts

Posted

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
Posted (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 by Valuater

NEWHeader1.png

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...