Bugs item #1810136, was opened at 2007-10-09 13:02
Message generated for change (Settings changed) made by barnson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1810136&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: None
>Status: Closed
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Shay Erlichmen (blackend)
Assigned to: pmarcu (pmarcu)
Summary: SmartCabbing doesn't work for same directory files

Initial Comment:
SmartCabbing doesn't work for same directory file, If you install the same file 
(from the same source) twice into the same directory (with different name 
obviously) the file will be duplicated in the CAB. SmartCabbing should work 
also in that situation, the file should reside in the CAB only once.

Below there a XML to repro the problem.

<Component Id="MyComp" >
  <File Id="File1.dll" KeyPath="yes" Name="File1.dll" 
Source="$(var.Dir)\File1.dll" />                          
  <File Id="File2.dll" Name="File2.dll" Source="$(var.Dir)\File1.dll" />
</Component>



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

Comment By: Shay Erlichmen (blackend)
Date: 2007-11-12 18:36

Message:
Logged In: YES 
user_id=38524
Originator: YES

My bad, I wasn't aware that CAB supports multi-link-single-payload.
I only test that by viewing the files names in the CAB.



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

Comment By: pmarcu (pmarcu)
Date: 2007-11-12 17:52

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

This does work. When you open the cab, it will still appear that there are
two entries but they both point to the same payload. You can see this if
you makea copy of File1.dll in another location and point one of the
sources to pick it up from there. The size of you cab will double.

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to