Bugs item #1816453, was opened at 2007-10-19 04:25 Message generated for change (Comment added) made by pmarcu You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1816453&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: Pending >Resolution: Works For Me Priority: 9 Private: No Submitted By: Martin Lavelle (hypercaust) Assigned to: pmarcu (pmarcu) Summary: RemoveFile and RemoveFolder Id clashes not handled Initial Comment: The sample snippet below shows a RemoveFile and a RemoveFolder element with the same Id. Of course they each result in a RemoveFile table record, so the Id's are going to clash... Such MSI's are building without error (with V3.0.3307.0), with only One RemoveFile Table Record being created. Clearly this should error! Sample: <Component Id="RemoveStuff" Guid="INSERT-GUID-HERE"> <RemoveFile Id="OldShortcuts" Directory="SomeDir" Name="*.lnk" On="install"/> <RemoveFolder Id="OldShortcuts" Directory="SomeOtherDir" On="install"/> </Component> ---------------------------------------------------------------------- >Comment By: pmarcu (pmarcu) Date: 2007-10-19 14:40 Message: Logged In: YES user_id=1612676 Originator: NO This works for me. I get this error message when using the provided sample: error LGHT0130 : The primary key 'OldShortcuts' is duplicated in table 'RemoveFile'. Please remove one of the entries or rename a part of the primary key to avoid the collision. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1816453&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
