Mailbag: How to perform a silent install of the Visual C++ 8.0 runtime files (vcredist) packages
Question:
Visual Studio 2005 includes redistributable setup packages to install the Visual C++ 8.0 runtime files such as msvcr80.dll, atl80.dll, etc. I would like to run this setup in fully silent mode, but when I run it normally, it displays a progress page. How can I run this setup package in fully silent mode?
Answer:
The Visual C++ 8.0 redist packages (vcredist_x86.exe, vcredist_x64.exe and vcredist_ia64.exe) support the following command line installation options. The examples below use the file named vcredist_x86.exe, but you can substitute the 64-bit versions of the EXEs with equivalent command lines to achieve the same behavior for them as well.
Unattended install
This option will run setup and display a progress dialog but requires no user interaction.
vcredist_x86.exe /q:a
Unattended install with no cancel button
This option is the same as the previous option, except that the user will not have the option to press cancel during installation.
vcredist_x86.exe /q:a /c:"msiexec /i vcredist.msi /qb! /l*v %temp%\vcredist_x86.log"
Silent install
This option will suppress all UI during installation.
Vcredist_x86.exe /q:a /c:"msiexec /i vcredist.msi /qn /l*v %temp%\vcredist_x86.log"