ripken204 Posted August 25, 2005 Posted August 25, 2005 (edited) i am using autoit and i was wondering if i could use a silent install switch with it?im trying to run a cmd file but it wont work Edited August 25, 2005 by ripken204
iceWolf Posted August 25, 2005 Posted August 25, 2005 i am using autoit and i was wondering if i could use a silent install switch with it?im trying to run a cmd file but it wont work<{POST_SNAPBACK}>well cmd files are auto executing, so it would be somthing likerun( ' "[path]\filename.cmd" [switches]')if it's msirun('msiexec /i "[path]\filename.msi" /qn')
ripken204 Posted August 25, 2005 Author Posted August 25, 2005 i got it all worked out now, im not using the cmd files, i did it all in AU3RunWait(@ComSpec & " /c " & 'start /w c:\installs\wrar3501.exe /s', "", @SW_HIDE)thats part of the code, this is what i originally needed
Nologic Posted August 26, 2005 Posted August 26, 2005 hmm that could also be written like so:RunWait( 'c:\installs\wrar3501.exe /s' )
ripken204 Posted August 26, 2005 Author Posted August 26, 2005 yes, ur right, i have no clue what i was trying before, so hard to relearn all of the stuff that i have forgotten
InTheWayBoy Posted August 26, 2005 Posted August 26, 2005 You need to use this syntax:RunWait(@ComSpec & " /c " & 'start /w c:\installs\wrar3501.exe /s', "", @SW_HIDE)When you run something like "net" or "copy"...built-in commands. Or so I've been told
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