The XmlFile element wasn’t
quite powerful enough to handle all the scenarios people were hitting. K
recently finished working on the XmlConfig element (in WiX v3, I believe) to be
much more powerful. I don’t think he’s written down much
about how to use it… unfortunately, but you might take a look at that.
It hopefully removes the need to write specialized CustomActions (_vbscript_?
Ick) for modifying XML files. From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stephen
Turton Thanks John, I’m looking
into doing something similar. From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Crouch,
John Stephen, There were some challenges to over come with xmlfile about amonth
ago – I forget the bug trackinh numbers but I too had many problems
uninstalling xml for web, exe and machine.config files. I gave up and
used a customaction vbs – to my eternal shame. br From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Stephen Turton Hi, I want to add some config handlers to machine.config during
setup so I’m using <xmlfile>. This works fine when I install: the expected elements are
added to machine.config. However, I want these elements to be removed when I
uninstall and I can’t figure out how to do this. My <xmlfile>
component looks like this:
<Component Id='MyComp' Guid='4406c78a-0b49-4b0b-b63a-e088089d50ca'
Permanent='no'>
<XmlFile Id='topElement'
File='C:\test.xml'
Action=''
Name='topElement'
Sequence='1'
Permanent='no'
ElementPath='//configuration'/>
<XmlFile Id='extensions'
File='C:\test.xml'
Action=''
Name='extensions'
Sequence='2'
Permanent='no'
ElementPath='//configuration/topElement'/>
</Component> Am I doing something wrong here? (apart from writing to
C:\test.xml – I’m not quite ready to actually edit my
machine.config file yet) Thanks, Stephen |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users