Archive: mfc71.dll mfc c++


mfc71.dll mfc c++
Hy.
I must include the mfc71.dll in my project ,else the installer not run in certain pc.
Must i register this dll?
How include mfc71.dll
thanks.


It doesn't export DllRegisterServer so the answer is no.


thanks.
But how include mfc71.dll?
I would to copy it in the system directory?(is there a ,macro that point to the system directory in nisis ?)
What other files i must distribuite for a c++ mfc application?
there is a .msi file that install all the necessary dll's for mfc?
so i launch this msi from nsis setup.
thanks.


There is no Macro for the system path
there is a global define $SYSDIR which points to the System directory.

But calling the apprioate msi file also will work.


thanks,the sysdir work fine.
THe problem is that i use visual c++ 7.0 then i have an .msm file for the redist.
And Is not possible launch the .msm file , how i merge it in a .msi ,then launch the .msi?
And how create an empty .msi for merge it with the .msm?
thanks


You could create a simple MSI that only uses the MSM using WiX or some other MSI generator. You could also distribute the DLL files locally in your application's folder.

But you don't have to use either. You can simply install all required DLL files with InstallLib. Specify REGDLL for all of them and replace with just DLL for those that give you an error saying DllRegisterServer cannot be found.