Bugs item #1515373, was opened at 2006-06-30 16:45
Message generated for change (Comment added) made by robmen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1515373&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: extensions
Group: v3.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: greggm (greggm)
Assigned to: Scott Kurtzeborn (scotk)
Summary: XmlFile has design issues with uninstall/element uniqueness

Initial Comment:
Suppose you have an XML File that you want to look 
like this:

<A>
  <B>
    <C id="program1"/>
    <C id="program2"/>
  </B>
</A>

And it gets this way because you have two programs 
that each make sure that 'B' exists, and then create 
a new 'C'.

First, you would discover that Uninstall is broken. 
The looping is wrong.

Then there is a design problem:
1. createElement always causes an element to be 
created this is a problem in the case of node 'B'. 
Both programs would create B when in reality, only 
one should be creating B.
2. Uninstall of createElement always removes all 
nodes. So when the first program is removed, all C's 
go away.

The basic problem is that there needs to be a key to 
describe the element which is created. This would be 
used at install time to decide if the key actually 
needs to get created, at repair time to find the node 
to repair, and at uninstall time to remove what got 
added.

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

>Comment By: Rob Mensching (robmen)
Date: 2007-01-08 16:59

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

This was addressed by introducing XmlConfig to supercede XmlFile.

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

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to