Releasing MFC projects
-
Can anyone point me to some good articles about realeasing mfc projects. Ive searched around but im not sure exactly what im looking for. Ive compiled my proj for release and ive learned how to bundle it with an installer, but i dont know what mfc DLLs (my proj used mfc shared DLL) i need to include and where i need to go about copying them on install.
-
Can anyone point me to some good articles about realeasing mfc projects. Ive searched around but im not sure exactly what im looking for. Ive compiled my proj for release and ive learned how to bundle it with an installer, but i dont know what mfc DLLs (my proj used mfc shared DLL) i need to include and where i need to go about copying them on install.
KnaveWave wrote: i dont know what mfc DLLs (my proj used mfc shared DLL) To find out which DLLs your application uses run the program Depends.exe located: VS VC6 C:\Program Files\Microsoft Visual Studio\Common\Tools VS .Net C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\Bin or equivelant directory. Load the executable into depends and it lists all DLLs that your executable depends on (it does exactly what it says on the tin!). :-D KnaveWave wrote: where i need to go about copying them on install All dependant DLLs can reside in the working directory for the executable. However most windows installations will already have the appropriate mfc DLLs already installed in the WINDOWS directory or WINDOWS\SYSTEM directory or WINDOWS\SYSTEM32 directoy. Installers, eg. Wise, InstallShield can/will locate all dependant DLLs for you and add them to the appropriate places within the install package when it is built. These will then be installed as necessary on the client machine. Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Williams (Little Britain) -
Can anyone point me to some good articles about realeasing mfc projects. Ive searched around but im not sure exactly what im looking for. Ive compiled my proj for release and ive learned how to bundle it with an installer, but i dont know what mfc DLLs (my proj used mfc shared DLL) i need to include and where i need to go about copying them on install.
That project uses only MFC42.DLL. You can know what DLL your project uses with Depends utility. Depending on your application for generating installers, you will need a merge module that incorporates MFC42 with the installation, for example, InstallShield uses MFC42.MSM Jaime