Mar 10, 2013 General Announcements Microsoft Certified Master MCM SQL Server 2012 SQL Server 2008 R2 Hands-on-Labs TechED BareMetal Microsoft Certified Trainer Denali SQL PASS 2010 MCT Business Intelligence SQL Server 2008 Mission Critical Certification Parallel Data Warehouse Alwayson Data Warehousing Tier1. The activation portion after install you just click don't login and use key a to activate, paste in key, then Bob's your uncle. Hope this helps someone else searching like I did for this. Monday, December 10, 2018 5:40 PM. The following process to install Microsoft Silverlight silently has been tested and confirmed working with Silverlight 5.x and ConfigMgr / SCCM R2. Having troubles with the instructions? Take a look at the example download. Silverlight Installation Switches. This setting is automatically included when the quiet install switch is used. By default, DRM Playback is set to prompt on 1st use. /ignorewarnings = non-fatal warnings will not be reflected in the quiet installer return code but will instead return zero indicating success.
Programming, graphics, games, media, C++, Windows, Internet and more...
Blog »
# Installing Visual C++ Redistributable Package from Command Line
Wed
20 May2015 ![]()
You may think that unless you explicitly use some external library (like FMOD), your program will not require any additional libraries to work, but when coding in C++ using Visual Studio, this is not the case. The functions of standard C/C++ library are implemented in a package of DLL-s called Microsoft Visual C++ Redistributable Package. Each version of Visual Studio has their own set. For example, version for Visual Studio 2013 (Release configuration) consists of files: msvcr120.dll, msvcp120.dll.
You can make your application not requiring this library by setting your project options in Configuration Properties > C/C++ > Code Generation > Runtime Library to 'Multi-threaded [Debug]' without the 'DLL' part, which makes it statically linked. Alternatively, you can distribute these DLL files (although I'm not sure if this is legal) or the whole library installer together with your application. The library is small and free, available to download from Microsoft website:
The question is: can you launch the installer of these packages with some special parameter so the user doesn't have to go through all the setup wizard, confirming each step? The answer is yes, but as Microsoft likes to change everything very often :) the exact command line is different depending on version. Here is the whole set:
Silent Install Switches For Exe
Visual Studio 2005 (original one):
Visual Studio 2005, x86 (32-bit version):
vcredist_x86.exe /q:a /c:'VCREDI~1.EXE /q:a /c:'msiexec /i vcredist.msi /qn' Visual Studio 2005, x64 (64-bit version): vcredist_x64.exe /q:a /c:'VCREDI~2.EXE /q:a /c:'msiexec /i vcredist.msi /qn' ' Visual Studio 2005 SP1, x86: vcredist_x86.exe /q:a /c:'VCREDI~3.EXE /q:a /c:'msiexec /i vcredist.msi /qn' ' Visual Studio 2005 SP1, x64: vcredist_x64.exe /q:a /c:'VCREDI~2.EXE /q:a /c:'msiexec /i vcredist.msi /qn' '
If you would like to install it in unattended mode (which will show a small progress bar but not require any user interaction), you can change the '/qn' switch above to '/qb'. Unattended mode + disabled 'Cancel' button is '/qb!'.
Visual Studio 2005 (updated - the one I use):
/Q - quiet mode
Visual Studio 2008: Just pass one of these parameters:
/q - quiet mode, no user interface./qb - unattended mode, shows progress bar but no user interaction required./qb! - unattended mode with 'Cancel' button disabled.
Visual Studio 2010 and 2012:
/q /norestart - quiet mode/passive /norestart - passive (unattended) mode
Visual Studio 2013, 2015, 2017:
Microsoft Teams Silent Install Parameters/install /quiet /norestart - quiet mode/install /passive /norestart - passive (unattended) mode
To quickly install all of these libraries on the machines where lots of different applications are launched that may require them, I gathered all the libraries in one directory and I have written following BAT script:
Update: I also prepared a full package with my script and 'pirated' copy of all these installers for your convenience: Microsoft Visual C++ Redistributable Package.zip (105 MB).
Comments | #visual studio#c++Share
Please enable JavaScript to view the comments powered by Disqus.
Copyright © 2004-2019 Sorry, you need Javascript on to email me.
-->
The executable program that interprets packages and installs products is Msiexec.exe.
Note
Msiexec also sets an error level on return that corresponds to System Error Codes.
The following table identifies the standard command-line options for this program. Command-line options are case insensitive.
![]()
Windows Installer 2.0: The command-line options that are identified in this topic are available beginning with Windows Installer 3.0. The Windows Installer Command-Line Options are available with Windows Installer 3.0 and earlier versions.
List Of Silent Install Switches
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |