Bugs item #1759273, was opened at 2007-07-23 18:13
Message generated for change (Settings changed) made by bbobkins
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1759273&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: heat
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jimbo (bbobkins)
Assigned to: Derek (derekc)
>Summary: heat.exe Component ID Duplication
Initial Comment:
Lets say you have the following file structure...
Root
|--- Folder1
| |--- File.txt
|--- Folder2
|--- file.txt
Notice that you have two files of the same name however there is a difference
in the Upper/Lower case of the two text files.
When you run heat.exe across that folder structure you will get 2 components
however they will both have the same name (ignoring the difference in case).
Once the installer is built and installed, this issue causes one of those files
to be dropped for both instances of that file which is very bad. :)
The generated XML will look like this...
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<Directory Id="Root" Name="Root" />
</Fragment>
<Fragment>
<DirectoryRef Id="Folder2">
<Component Id="file.txt" Guid="PUT-GUID-HERE">
<File Id="file.txt" Name="file.txt" KeyPath="yes"
Source="D:\Root\Folder2\file.txt" />
</Component>
</DirectoryRef>
</Fragment>
<Fragment>
<DirectoryRef Id="Folder1">
<Component Id="File.txt" Guid="PUT-GUID-HERE">
<File Id="File.txt" Name="File.txt" KeyPath="yes"
Source="D:\Root\Folder1\File.txt" />
</Component>
</DirectoryRef>
</Fragment>
<Fragment>
<DirectoryRef Id="Root">
<Directory Id="Folder1" Name="Folder1" />
</DirectoryRef>
</Fragment>
<Fragment>
<DirectoryRef Id="Root">
<Directory Id="Folder2" Name="Folder2" />
</DirectoryRef>
</Fragment>
</Wix>
----------------------------------------------------------------------
Comment By: Jimbo (bbobkins)
Date: 2007-07-23 19:58
Message:
Logged In: YES
user_id=1567461
Originator: YES
Bob Arnson suggests...
It's a two-fer bug: Heat sees them as distinct IDs and Light doesn't
complain. (CAB files can't have IDs that differ only by case.) I've
encountered the bug before but haven't tracked down the fix yet. Feel
free to file a bug to "encourage" it.
----------------------------------------------------------------------
Comment By: Jimbo (bbobkins)
Date: 2007-07-23 18:41
Message:
Logged In: YES
user_id=1567461
Originator: YES
Sorry, just to be clear. What I meant to say is there are 2 components of
the same ID (and files with the same ID). This is bad because there seems
to be confusion during install time as the wrong file can be installed.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1759273&group_id=105970
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs