Even if you generate different Id you can't link the same file twice in your 
installer, if you use heat to harvest ther same folder more than one time, you 
need to apply a transformation based on *xslt, to filtere the file as they were 
contained only in one component.For the directories you could refer the same 
directory in more than one component generated by head, but in this case you 
need to use another transform to change the id for each heat session.

> From: jacob.hoo...@greenheck.com
> To: wix-users@lists.sourceforge.net
> Date: Mon, 13 May 2013 17:58:21 +0000
> Subject: Re: [WiX-users] Heat creates duplicate IDs
> 
> I believe heat is using the path to the file as a "seed" of sorts when 
> generating the GUID. As such, if you are using relative paths and both of 
> them match then the GUIDs would be the same.
> 
> -----Original Message-----
> From: Nick Miller [mailto:nmil...@livetechnology.com] 
> Sent: Monday, May 13, 2013 8:39 AM
> To: General discussion for Windows Installer XML toolset. 
> (wix-users@lists.sourceforge.net)
> Subject: [WiX-users] Heat creates duplicate IDs
> 
> Hi All,
> 
> Does anyone know how Heat generates the component and file ID's?  Here is the 
> situation: I have two folders, and those folders contain some of the same 
> files (dll's and such). If I run Heat on both of those directories it creates 
> the same component and file IDs for those like files.  Is there any way to 
> avoid this?  Is it a bug?
> 
> Thanks,
> Nick
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
> definitive new guide to graph databases and their applications. This 200-page 
> book is written by three acclaimed leaders in the field. The early access 
> version is available now. 
> 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to