Thanks for all replies, now I totally understood.
-----邮件原件-----
发件人: Nicolás Alvarez [mailto:nicolas.alva...@gmail.com] 
发送时间: Saturday, December 07, 2013 1:56 AM
收件人: General discussion about the WiX toolset.
主题: Re: [WiX-users] Can different products contain conponents with the same 
ComponentId?

If multiple products install the same component in the same folder, the 
component is reference-counted, and it is removed when all the products having 
that component are uninstalled. This is one of the main features of Windows 
Installer and the reason for most of the "component rules".

El viernes, 6 de diciembre de 2013, Smagin Alexander escribió:

>  If two products use the same componanet and they are installed in the 
> same folder. product A  complements product B, nevertheless these 
> products can be installed separately.  in this case does the shared 
> component
> (files)  leave unchnaged  If one of them is uninstalled ? if not how 
> to implement it, i.e. if they are instralled in the same folder shared 
> files will no be deleted whe one of the product is uninstalled.
>
>
> Thanks,
> Alex.
>
> Пятница,  6 декабря 2013, 8:41 -08:00 от Phil Wilson < 
> phildgwil...@gmail.com <javascript:;>>:
> >Yes - that's what merge modules do. They are the same resource 
> >component
> in
> >a package used to build multiple products to keep the sharing working 
> >properly. Put the shared components in merge modules to be safer. If
> you're
> >all WiX there are WiX fragments.
> >
> >This assumes that the resource is the same actual thing. It's asking 
> >for trouble to have completely different resources with the same component 
> >id.
> >
> >Phil Wilson
>
> ----------------------------------------------------------------------
> --------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.
> clktrk _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net <javascript:;> 
> https://lists.sourceforge.net/lists/listinfo/wix-users
>


--
Nicolás
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to