Is there anyone using XmlConfig to delete a node from an XML config file? If
I modify the below VerifyPath to be the same as the ElementPath I get an
error and the installation rolls back. If I leave it as is the node remains
unchanged. Any assistance would be greatly appreciated.

 

Kevin

 

From: Kevin Burton [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 23, 2007 10:25 AM
To: 'Bob Arnson'
Cc: 'Rob Mensching'; 'wix-users@lists.sourceforge.net'
Subject: RE: [WiX-users] Remove a section using XmlFile

 

My XmlConfig does not seem to work. It doesn't delete the section or the
whole node. I don't get a warning or an error. Just what was supposed to be
deleted is not. This is the XmlConfig line that I am using:

 

<XmlConfig Id="ConsoleAppConfig14" Action="delete"
ElementPath='//configuration/system.dignostics'
File="[CONSOLEINSTALLDIR]app.Config" Node="element" On="install"
Sequence="14" VerifyPath='New' />

 

Is this syntax correct? Is it possible that in replacing the wix.targets
file with an earlier version that it could have caused this command to
silently fail?

 

Thank you for your patience.

 

Kevin

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to