ttabol

Silent Install with multiple switches?

2 posts in this topic

#1 ·  Posted

Hello All!

I may have just looked at this too long and am missing something obvious...I've read a ton of forum posts and tried many of the suggestions/examples but still cannot get an application to silently install via AutoIt. Below is a line that will install it - BUT - I need to be able to use variables as it needs to be portable. I must also used the prescribed switches - they are not optional. Any help is greatly appreciated!
WILL INSTALL if RunAsAdmin:  
RunWait('"C:\Users\mymachine\AutoIt\6.5.2_Setup.exe" /s /v"/qn /L*v "C:\Users\mymachine\AutoIt\ACD_Logs\%ComputerName%_6.5.2.log" SETUPFILE="C:\Users\mymachine\AutoIt\InsResp.dat"')

WILL NOT INSTALL: (as I said, I've tried many but this one seems to get me closest!)
RunWait('"' & @ScriptDir & '\EX_6.5.2_Setup.exe /s /v" /qn /L*v ' & @ScriptDir & "\ACD_Logs\%ComputerName%_6.5.2.log SETUPFILE=" & @ScriptDir & "\InsResp.dat" & '"', "", @SW_SHOW)

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