I suggest reading: http://robmensching.com/blog/posts/2003/10/18/Component-Rules-101
You'll find that the rules are very strict but not enforced and you won't notice until you try to patch or upgrade. Jason Zhang wrote: > As a beginner, although I already read through the wix tutorial, still > have some questions on guid attribute on component element: > > 1. same guid in different product: > > if I accidentally copied a guid from a component in product A to another > component in product B. What happened if I install product B after > product A is installed, does msi will rollback since there is same guid > in different product ? > > 2. same component in same product but in different version > > Assuming in product 1.1, I have a component which contains foo.exe. Then > when product 1.2 is released, I still have a component which contains > foo.exe, but foo.exe is updated, e.g. different from the one in 1.1, so > > 2.1 shall I use different guid for this component if I change the > Version attribute of product ? > > 2.2 shall I use same guid for this component if I does not change the > Version attribute of product ? > > 3. dynamically generate guid for same component in same product in same > version > > Can I dynamically generate guid for every component in build, which > means my build script will dynamically create guid for each component, > in this way, every time I build my msi, every component will get > different guid from last time, is that OK or bad practice ? > > Best Regards > Jason > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users