Jump to content

Recommended Posts

Posted (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 by ripken204

Posted
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

well cmd files are auto executing, so it would be somthing like

run( ' "[path]\filename.cmd" [switches]')

if it's msi

run('msiexec /i "[path]\filename.msi" /qn')

Posted

i got it all worked out now, im not using the cmd files, i did it all in AU3

RunWait(@ComSpec & " /c " & 'start /w c:\installs\wrar3501.exe /s', "", @SW_HIDE)

thats part of the code, this is what i originally needed

Posted

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 :P

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...