On 05-Jul-13 11:57, Alain Forget wrote: > I know the rule is that Components should always have unique GUIDs (at least, > I think that's the rule). Nope, it's way more complicated than that (as Rob's blog posts point out). If it were that simple, MSI could generate the GUIDs for us or eliminate them entirely.
> However, I have two packages that sometimes refer to and may install the same > files in the same location, so should the GUID be the same for both, so the > Windows Installer knows it's supposed to be the same, and if it already > exists, it shouldn't be installed a second time (unless the version number is > higher, but I don't think that applies for us)? If the components are identical, including composition and key path, their GUIDs must be identical too. So share the Component element authoring to ensure that stays true. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users