Your ElementPath isn't pointing to anything beyond your root element of appplicationSettings, as far as I can tell. You need to use XPath to specify the inner text of that deeper element. Seems it is almost always some trial and error to nail these. I like to create a mini installer that does nothing but modify the XML so I can run it and uninstall it very quickly for some quick iterative tests until I get the syntax right for a given XPath. Then I merge that into my main project.
-----Original Message----- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: Wednesday, September 19, 2012 3:50 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] modify XML file using utils:XmlConfig... Sigh... I need to modify an xml file: <applicationSettings> <Company.Enterprise.Management.Properties.Settings> <setting name="IsCompanyServer" serializeAs="String"> <value>*false*</value> </setting> <setting name="SyncIntervalMinutes" serializeAs="String"> <value>3</value> </setting> </Company.Enterprise.Management.Properties.Settings> <Company.EnterpriseServices.Properties.Settings> <setting name="DataProviderName" serializeAs="String"> <value>SQL Server Database Provider</value> </setting> </Company.EnterpriseServices.Properties.Settings> </applicationSettings> I need to change the false to a true... here is my xmlconfig code: <util:XmlConfig Id="ModifyIsCompanyServer" Action="create" File="[WixLibRedirectFolder]Company.Enterprise.Management.dll.config" ElementPath="applicationSettings" On="install" Node="value" Name="setting" Value="true" /> What the heck am I doing wrong? Frustrated, Steve -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/modify-XML-file-using-utils-XmlConfig-tp7580678.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users