/build/static/layout/Breadcrumb_cap_w.png

Merge module vs Sharing dll

Hi friends,
I am studying the difference between sharing any dll/incrementing dll count and using merge module for that perticular dll, Please share your thoughts.
My understanding is, (may be I am wrong), if we are sharing dll then only that perticular dll's count gets increased and at the time of uninstallation if it is still in use, then that dll remains, but other objects in that component gets removed, but in case of merge module it retains whole merge module component, after uninstallation as well, if it is still in use.

0 Comments   [ + ] Show comments

Answers (10)

Posted by: AngelD 14 years ago
Red Belt
0
Yes, shared dll uses a single file counter while a component (within a merge module or not) has it's own reference counter and will remove all resources (files, registry, ini...) if only one package installed the component.
Posted by: abking99 14 years ago
Second Degree Blue Belt
0
Where can I find out information, about mechanism of merge module? How exactly does it work?
Posted by: anonymous_9363 14 years ago
Red Belt
0
Where can I find out information, about mechanism of merge module
Posted by: abking99 14 years ago
Second Degree Blue Belt
0
why this smiley? if you want to learn something in deep, is it wrong? overall we all know how it works, but i wanted to know backend mechanism....
Posted by: anonymous_9363 14 years ago
Red Belt
0
why this smiley?Seriously, what do you expect? How many times will you have to read the entreaty to use Google before the message sinks in? If you're expecting an in-depth tutorial here, you're seriously deluded. Besides anything else, who has the time?

Google MSDN and TechNet. If the information you find there isn't sufficient, you'd probably need to speak to a Microsoft lead developer in person.
Posted by: abking99 14 years ago
Second Degree Blue Belt
0
I already mentioned that I am also studying on it, and I needed input of other packagers, who knows these concept better. Anyways If you have any contact details of Microsoft's lead developer, then please share with me
Posted by: timmsie 14 years ago
Fourth Degree Brown Belt
0
Anyways If you have any contact details of Microsoft's lead developer, then please share with me

hehe it's like clueless all over again!
Posted by: pjgeutjens 14 years ago
Red Belt
0
Ok, abking, I'm in a good mood since my new server arrived yesterday, so..

http://msdn.microsoft.com
in the search windows type in "Merge Module"
top link

This took me less than 30 seconds to find...

PJ
Posted by: ghosh.kunal 14 years ago
Senior Yellow Belt
0
The main thing with Merge Modules is that it provides for consistent components, that is same component GUIDs for the same set of DLLs. You might have the same version of DLL in 2 different MSIs with different component GUIDs, which would not help DLL Hell situation, because windows installer would check for components (Using Component GUIDs) and not files.

Thats why Merge Modules are always preferred over incrementing the DLL reference counts.
Posted by: abking99 14 years ago
Second Degree Blue Belt
0
Thanks Kunal, for the useful Information. :)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ