Jump to content
Sign in to follow this  
bordomavi

msiexec with autoit

Recommended Posts

bordomavi

how can i run this command with autoit? 

msiexec /x "setup.msi" /qn

setup.msi is in:

@TempDir & "\Setup\Setup.msi"

Share this post


Link to post
Share on other sites
bordomavi

msiexec /x is uninstall command

Share this post


Link to post
Share on other sites
JLogan3o13

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 by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
bordomavi

 

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"

Share this post


Link to post
Share on other sites
devilman16

Try


RunWait('msiexec.exe /x "' & @Tempdir & '\Setup\Setup.msi" /qn')




			
				


	Edited  by devilman16
	
	

			
		

Share this post


Link to post
Share on other sites
bordomavi

working thanks

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  

×