Jump to content
Sign in to follow this  
Paul Rothschild

Sorry, newbie here...RunWait an exe and pass a parameter

Recommended Posts

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:


ngsetup.exe -f=ngsetup.ini


In AutoIt, my script succeeds when run as below:




However, when I add the parameter -f as shown below:


RunWait("c:\aitemp\ngsetup.exe -f=nsetup.ini")


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?



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  

  • Create New...