Bugs item #1722516, was opened at 2007-05-21 11:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1722516&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: light
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jonas Eriksson (jayee)
Assigned to: Nobody/Anonymous (nobody)
Summary: Same name, wrong file

Initial Comment:
I'm creating an installation which holds several files with filenames that are 
identical but they reside in different directories. I have used heat to build 
the file list as shown below. What happens is that I have 2 files with the same 
name (resource.h) in different directories and during installation the same 
file is copied to both directories. There seems to be a problem with spaces in 
the Source tag as the file content is the same in all directories which starts 
the same (before the space). The name of the file is copied correctly, 
resource.h vs Resource.h like in the sample below, but the content and 
timestamp comes from the second file.

I think this is a bug in the light command, but maybe it can be in the candle 
instead.

I've used the build from 2007-05-11 (3.0.2911.0) but older builds (from feb) 
give the same result.

<?define Src="..\release\" ?>

   <Fragment>
      <DirectoryRef Id="ex_1">
         <Component Id="resource.h_1" 
Guid="{6E1DBB54-C726-48C2-BE9C-5831999A42AC}">
            <File Id="resource.h_1" Name="resource.h" KeyPath="yes" 
Source="$(var.Src)Samples\ex 1\resource.h" />
         </Component>
      </DirectoryRef>
   </Fragment>
   <Fragment>
      <DirectoryRef Id="ex_2">
         <Component Id="Resource.h_1" 
Guid="{463578C2-66F5-487F-9D7D-1AA7A509E4F5}">
            <File Id="Resource.h_1" Name="Resource.h" KeyPath="yes" 
Source="$(var.Src)Samples\ex 2\Resource.h" />
         </Component>
      </DirectoryRef>
   </Fragment>


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1722516&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to