Bugs item #1758782, was opened at 2007-07-23 02:56
Message generated for change (Settings changed) made by pmarcu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1758782&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: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: John Hall (jdh28)
Assigned to: pmarcu (pmarcu)
Summary: CompanionFile attributes not honoured

Initial Comment:
The CompanionFile attribute does not appear to work; the Version field in the 
Component table is filled in with the file's version rather than its companion 
file's.

Candle is getting it right - I see that world.exe has hello.exe set as its 
companion file:

<table name="File">
  <row sourceLineNumber="C:\temp\companions\product.wxs*24">
    <field>hello.exe</field>
    <field>MyComponent</field>
    <field>hello.exe</field>
    <field>0</field>
    <field />
    <field />
    <field>0</field>
    <field />
    </row>
    <row sourceLineNumber="C:\temp\companions\product.wxs*25">
      <field>world.exe</field>
      <field>MyComponent</field>
      <field>world.exe</field>
      <field>0</field>
      <field>hello.exe</field>
      <field />
      <field>0</field>
      <field />
      </row>
</table>


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

Comment By: Stefan Pavlik (vydra)
Date: 2007-10-18 06:28

Message:
Logged In: YES 
user_id=1249288
Originator: NO

Probably the same problem is also in WiX2:

Consider this code:

<Component Id="Component1 Guid="GUID" DiskId="1">
  <File Id="File1" Name="File1.exe Vital="yes" KeyPath="yes"
Checksum="yes" />
  <File Id="File2" Name="File2.dll" Vital="yes" Checksum="yes"
CompanionFile="File1"/>
</Component>

Checking the MSI file with ORCA the FileTable:
The row that belongs to file File2 will contain the real version of
the file (in Column Version) instead of text: "File1"

The problem appears only if the file is binary. If the file File2 is
text file the Version column is filled correctly.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1758782&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

Reply via email to