Petrut, Try something like this. <XmlFile Id=' DocStorage 1' File='[DirectoryID]Web.Config' Action='setValue' Value="[DDD]" ElementPath="/configuration/appSettings/[EMAIL PROTECTED]'key name here'[\]]/@value" />
John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petrut Andrei Sent: Monday, September 04, 2006 7:52 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] XML file Hi. I want to modify a XML file, but i get this error: Unable to open file. The code is right here: <Component Id="Xml" Guid=""> <XmlFile Id="DocStorage" Action="setValue" File='web.config' ElementPath="/configuration/appSettings/add" Value='[DDD]' Name="Value"/> </Component> The web.config file is in the same directory with the main file and with others UIs. Shall I put the file in another place? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------ - 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 ------------------------------------------------------------------------- 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