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

Reply via email to