Thursday, August 07, 2008

Deployment of Applications Built with VC++ 2005

Deploying applications built with VC++ 2005 requires presence of particular libraries needed by Visual C++. This will also vary according to the target machine's operating system.

There are several options for the deployment:

  1. Use Visual C++ Redistributable Package
  2. Use the MSM merge modules
  3. Use Private Assembly



While the first two options respectfully require full installation of all libraries and presence of WinSxS assemblies (not present under all currently used operating systems), the third one can be used by copying only required libraries in the application directory. Furthermore, option 1) and 2) require administrative privileges.

The following libraries are required for option 3):

DLL Visual C++ Library
atl90.dll C Runtime and Standard C++ Libraries
msvcm90.dll
msvcp90.dll
msvcr90.dll
C Runtime and Standard C++ Libraries
mfc90.dll
mfc90u.dll
mfcm90.dll
mfcm90u.dll
mfcmifc90.dll
Microsoft Foundation Classes