However, I am now interested in silentely installing it.
I found an MSDN blog that describes how to do so:
vcredist_x86.exe /q:a /c:"VCREDI~1.EXE /q:a /c:""msiexec /i vcredist.msi /qb!"" "
(notice the quotation marks - they are critical!)
From the command line, the above works great.
However, from the NSIS script it simply doesn't work. 👎
I tried esacping those quotation marks once:
ExecWait '"$INSTDIR\${DLLMSVC8} /q:a /c:$\"VCREDI~1.EXE /q:a /c:$\"$\"msiexec /i vcredist.msi /qb!$\"$\" $\""'and twice:
ExecWait '"$INSTDIR\${DLLMSVC8} /q:a /c:$\$\"VCREDI~1.EXE /q:a /c:$\$\"$\$\"msiexec /i vcredist.msi /qb!$\$\"$\$\" $\$\""'But that did not solve the problem. 🙁
How do I deal with so many quotation marks in one string in an NSIS script?
Any idea or tip would be appreciated.
Thanks,
Victor