This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Shared Component, Different Merge modules, Same MSI
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 23, 2012
03:28 AM
Shared Component, Different Merge modules, Same MSI
Hi,
I have the following scenario which resulting with NOT increasing a shared dll reference count int the registry. Any thoughts why?
Same MSI with two different features: Say A and B
Feature A uses Merge Module A which contains Component C which holds one dll file
Feature B uses Merge Module B which uses same shared Component C(even with the same component code)
Installing Feature A and then Feature B resulting with only 1 reference count in the registry while there's suppose to be 2...
Can anyone please explain to me this odd behavior...Why ref count is not 2?
Thanks,
Lior
I have the following scenario which resulting with NOT increasing a shared dll reference count int the registry. Any thoughts why?
Same MSI with two different features: Say A and B
Feature A uses Merge Module A which contains Component C which holds one dll file
Feature B uses Merge Module B which uses same shared Component C(even with the same component code)
Installing Feature A and then Feature B resulting with only 1 reference count in the registry while there's suppose to be 2...
Can anyone please explain to me this odd behavior...Why ref count is not 2?
Thanks,
Lior
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 23, 2012
09:28 AM
A single MSI can only install a component once. So while either feature A or B (or both) will result in the component being installed, it will only net one reference count from this MSI.