hmmm your wording is a little confusing. 

the idea of using MM's is so that you gain referencing counting by proxy of
the components within the MM's being static. 

this post explains exactly how component reference counting works. 

http://johnmcfadyen.spaces.live.com/blog/cns!9DD01136FC094724!136.entry

you point on upgrading a component may mean that the com component should
still maintain counting. 

for example of a com component is upgraded, and assuming the developer /
manufacturer followed backwards compatibility rules then the component
should maintain the same component code. Where the component is not
backwards compatible you should generate new component ID's. this is
difficult to know as an application packaging and not the dev. 

now back to your post what did you mean by "I guess this is a breaking some
component rule"



wix-users-8 wrote:
> 
> Hi all,
> 
> I was wondering how to correctly hand reference counting for components
> in shared COM (say using an MSM). It seems to me that if two different
> products are trying to use a same COM components and one upgrades it the
> reference counting on any new components that are included will be
> broken. I guess this is a breaking some component rule.
> 
> Is there a way in wix to fix this, i.e. perhaps rather than getting both
> products to do the reference counting of the individual components
> within the shared MSM, rather treating the whole shared COM as a product
> as a whole. (Is bootstrapping the installer he only way to do this, or
> is there a neater solution?)
> 
> Cheers, David
> 
> 
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Reference-counting-for-new-components-in-shared-COM-tp18374549p18374877.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to