loup001 Posted May 30, 2012 Share Posted May 30, 2012 I have been using AutoIt for several years and I am stumped with this one. Trying to script the installation of Quest client MSI using the below script and it works: $RunMe = "c:\Program Files\Quest\QAgent.msi" ShellExecuteWait("msiexec.exe", '/i "' & $RunMe) The issues is that I want the installation to run quietly using either /q or /qn. When I add "/qn" to the Shell command, the script does not run. Can someone let me know how the SHELL command should look like to get the MSI to install quietly and with no UI? Link to comment Share on other sites More sharing options...
Exit Posted May 30, 2012 Share Posted May 30, 2012 I have been using AutoIt for several years and I am stumped with this one.Trying to script the installation of Quest client MSI using the below script and it works:$RunMe = "c:\Program Files\Quest\QAgent.msi"ShellExecuteWait("msiexec.exe", '/i "' & $RunMe)The issues is that I want the installation to run quietly using either /q or /qn.When I add "/qn" to the Shell command, the script does not run.Can someone let me know how the SHELL command should look like to get the MSI to install quietly and with no UI?$RunMe = "c:\Program Files\Quest\QAgent.msi"ShellExecuteWait($RunMe, "/q") App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
loup001 Posted May 30, 2012 Author Share Posted May 30, 2012 Wow - "That was easy" and thanks!! Link to comment Share on other sites More sharing options...
Exit Posted May 30, 2012 Share Posted May 30, 2012 Glad to help you .... and welcome to the forum App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 30, 2012 Moderators Share Posted May 30, 2012 Hi, loup001. Is there a reason you need to define the MSI in a separate line? You can run it all on one line for efficiency: ShellExecute("msiexec.exe", '/i "c:Program FilesQuestQAgent.msi" /qn') "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! 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