ExecWait issue
Hello. I'm trying to silently install the vc redistributables (vcredist_x86.exe) and am having a problem with it not installing.
I'm using the following command.
ExecWait '"$INSTDIR\vcredist_x86.exe" /q:a /c:$\"msiexec /i vcredist.msi /qn /l*v %temp%\vcredist_x86.log$\"'
Can anyone see anything wrong with this? Am I escaping the quotes correctly in the parameter string?
If I run the same line in the command line it all installs properly. eg)
vcredist_x86.exe /q:a /c:"msiexec /i vcredist.msi /qn /l*v %temp%\vcredist_x86.log"
Any help would be appreciated.
Thanks.