Click here to Skip to main content
15,902,939 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all
I am having an issue with the Microsoft's merge module, the .msm files . In our application we included the merge module version MFC.msm , ATL.msm , CRT.msm , MFCLOC.msm etc 8.0.50727.762 in our setup and in our later build we included version 8.0.50727.4053 . But the relevant dlls are not updated from the older version .762 to .4053 in WinSXS folder . But the replacement of the dlls works fine if we use the vs2005redist.exe . But the difference being that the vs2005redist.exe replaces the dlls in Windows/System32 folder. I have no idea why the merge modules .msm files ,when included in the installshield , setup is not replacing the older dlls .. can anyone throw some light on this please ?
Posted

1 solution

The behaviour of dependancies for VS changed a while ago. The newer version install side-by-side with older versions. Your application exe's and dll's will then include a manifest entry referring to the versions of MFC or ATL it requires.

To ensure that the msm is being installed, inpect the Windows\WinSXS folder, it should include all the dll's (including multiple versions of the dll's).
When you install the VS2005redist.exe, are you installing the newer version (SP1) or the older version? I suspect that the redist is older, since it should not be installing directly to System32.

So in short, later versions will not replace older versions. The main question is: does your application still run correctly? If you run depends.exe (Visual Studio Tools) and inspect the dependancies, does it show that it is bound to the new versions? In that case, there are no issues.
If your application does not run correctly, take a look here: http://msdn.microsoft.com/en-us/library/ms235342(VS.80).aspx
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900