This documentation is archived and is not being maintained.

Redistributing By Using Merge Modules

Visual Studio installs several merge modules for each Visual C++ component that you might redistribute with your application. Each merge module enables deployment of specific Visual C++ DLLs to the target system. However, you may only redistribute non-debug versions of Visual C++ DLLs are allowed. For a list of merge modules that are licensed for redistribution, see Redist.txt. Merge modules are typically installed in the \Program Files\Common Files\Merge Modules\ folder.

You can use Visual C++ redistributable merge modules to install Visual C++ DLLs into system/32. Visual Studio itself uses this technique to install these DLLs. If a user who does not have administrative rights tries to install the Visual C++ DLLs, the installation cannot be complete and applications that depend on those DLLs cannot run.

An alternative redistribution approach is to install private DLLs in the directory of a particular user application. For more information about how to deploy Visual C++ files as private assemblies, see Redistributing Visual C++ Files.