bordomavi Posted August 28, 2014 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"
JohnOne Posted August 28, 2014 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.
Moderators JLogan3o13 Posted August 28, 2014 Moderators 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!
bordomavi Posted August 28, 2014 Author 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"
bordomavi Posted August 28, 2014 Author Posted August 28, 2014 ShellExecuteWait('msiexec.exe', '/x '@TempDir & "\Setup\Setup.msi" /qn') it is not work
JohnOne Posted August 28, 2014 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.
devilman16 Posted August 28, 2014 Posted August 28, 2014 (edited) Try RunWait('msiexec.exe /x "' & @Tempdir & '\Setup\Setup.msi" /qn') Edited August 28, 2014 by devilman16
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