Paul Rothschild Posted September 21, 2006 Share Posted September 21, 2006 I am attempting to script the installation of a VPN client using alternate credentials for users who are not local administrators. From a command line, I can run the install and direct it to a configuration file as shown below: *Start*********************** ngsetup.exe -f=ngsetup.ini *End************************ In AutoIt, my script succeeds when run as below: *Start*********************** RunWait("c:\aitemp\ngsetup.exe") *End************************ However, when I add the parameter -f as shown below: *Start*********************** RunWait("c:\aitemp\ngsetup.exe -f=nsetup.ini") *End************************ the install proceeds as though the parameter were being ignored. Can anyone suggest another method for running this exe and passing the required parameter to it? Thanks, Paul Link to comment Share on other sites More sharing options...
blademonkey Posted September 21, 2006 Share Posted September 21, 2006 runwait(@comspec & ' /c ' & 'c:\aitemp\ngsetup.exe -f=nsetup.ini') it's actually in the notes section of that item in the help file. ---"Educate the Mind, Make Savage the Body" -Mao Tse Tung 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