views:

36

answers:

2

I have developed an application which uses the MFCs of VStudio 2008 for its UI, and thus expects some VStudio 2K8 runtime libraries to be present on the system it is launched. Does anyone know on which Windows Platform the MFC runtime of VStudio 2K8 are available per default (after a clean install of the OS)?

I think there are available with a clean installation of Vista. Are they available on clean XP installation?

A: 

You should distribute the runtime whatever version the target OS is. On the linked page, MS states:

The Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ SP1 on a computer that does not have Visual C++ 2008 SP1 installed.

So I will take the sure way and make no assumption.

RC
Somehow it looks like Vista (and later versions) delivers these (as well as many many others) during its (clean) installation.
marc ochsenmeier
Does someone knows a link that documents wich (MFC) runtime libraries are installed on which OS (clean) vesions? Thanks for any hint!
marc ochsenmeier
A: 

You always need to install the Visual Studio runtime redistributable to be sure it's there.

However, one option if you only need one or two of the dlls is to place the redistributable dlls next to your own .exe. This can dramatically reduce the download size, and (by just adding a couple of files along with your exe) avoids having to do anything special with merge modules etc in your installer.

Jason Williams
As a matter of fact, I just need three of these. However when I deliver these in the directory of my application (PeStudio), this has some side effects since some of these are WinSxS libraries.
marc ochsenmeier