PDA

View Full Version : My first VC++ deployment



billgower
10-23-2003, 09:44 PM
I will be using Installshield for the first time to deploy a VC++ MFC Application. In reading books on .NET there is a lot of talk about deploying dlls in the application directory instead of in the windows directory to avoid dll hell. I am not using .NET but VC++ 6 and I was wondering what others thought about the idea of deploying the MFC*.dlls in the application directory.

RichAquino
10-24-2003, 11:54 AM
Hi,

It's not a recommendation or anything, but the InstallShield DevStudio product installs its DLLs (some MFC) to (a subdirectory of) the application directory.

We also have some shared DLLs that we install to (a subdirectory of) the CommonFiles folder.

Rich

tw0001
10-24-2003, 02:10 PM
For VC6, doing MFC42.DLL and MSVCRT.DLL in the application folder will not work because of the "KnownDLLs" problem. It is recommended you install them to windows\system(32) folder.

This is not the case for VC7, since the names are MSVCR70.DLL and MFC70.DLL, and you should install to your application folder.

Ted.