![]() |
#1 | ||
Junior Member
Join Date: Feb 2007
Posts: 48
|
Silent Install of vcredist_x86.exe via NSIS
Non-silent install of vcredist_x86.exe (i.e. by simply ExecWait-ing it with no switches) works.
![]() 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: Quote:
Quote:
![]() 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 |
||
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
$\"$\" and not $\$\"
as far as i can see PHP Code:
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 | |
Junior Member
Join Date: Feb 2007
Posts: 48
|
Quote:
![]() For some reason it's not totally silent (yet) but at least I passed the quotation marks hurdle in NSIS (thanks to you). Thank you! Victor |
|
![]() |
![]() |
![]() |
#4 |
Senior Member
Join Date: Dec 2004
Location: Turkey
Posts: 447
|
/q [n|b|r|f] The /q option is used to set the user interface level in conjunction with the following flags:
q or qn creates no user interface qb creates a basic user interface The user interface settings below display a modal dialog box at the end of installation: qr displays a reduced user interface qf displays a full user interface qn+ displays no user interface qb+ displays a basic user interface "Just do it" |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|