bordomavi Posted August 28, 2014 Share Posted August 28, 2014 how can i run this command with autoit? msiexec /x "setup.msi" /qn setup.msi is in: @TempDir & "\Setup\Setup.msi" Link to comment Share on other sites More sharing options...
JohnOne Posted August 28, 2014 Share Posted August 28, 2014 What is the /x ? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
bordomavi Posted August 28, 2014 Author Share Posted August 28, 2014 msiexec /x is uninstall command Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 28, 2014 Moderators Share Posted August 28, 2014 (edited) If you did a forum search, you would find at least 100 threads discussing msiexec... ShellExecuteWait('msiexec.exe', '/x <path to msi> /qn') ;Or Run('msiexec.exe /x <path to msi> /qn') Edited August 28, 2014 by JLogan3o13 "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...
bordomavi Posted August 28, 2014 Author Share Posted August 28, 2014 If you did a forum search, you would find at least 100 threads discussing msiexec... ShellExecuteWait('msiexec.exe', '/x <path to msi> /qn') ;Or Run('msiexec.exe /x <path to msi> /qn') can i write path like this? @TempDir & "SetupSetup.msi" Link to comment Share on other sites More sharing options...
bordomavi Posted August 28, 2014 Author Share Posted August 28, 2014 ShellExecuteWait('msiexec.exe', '/x '@TempDir & "\Setup\Setup.msi" /qn') it is not work Link to comment Share on other sites More sharing options...
JohnOne Posted August 28, 2014 Share Posted August 28, 2014 ShellExecuteWait('msiexec.exe', '/x '@TempDir & "\Setup\Setup.msi" /qn') it is not work You might have to wait a while, so people can digest all that information. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
devilman16 Posted August 28, 2014 Share Posted August 28, 2014 (edited) Try RunWait('msiexec.exe /x "' & @Tempdir & '\Setup\Setup.msi" /qn') Edited August 28, 2014 by devilman16 Link to comment Share on other sites More sharing options...
bordomavi Posted August 28, 2014 Author Share Posted August 28, 2014 working thanks 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