It is explained in the Formatted data type description (http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx).
Here is the missing <File> element declaration: <File Id="AppConfig" DiskId="1" Name="App.cnf" LongName="App.config" Source="App.config" Vital="yes" KeyPath="yes" /> Alex Shevchuk -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of wixuser1105 Sent: Monday, June 23, 2008 7:56 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] XmlConfig question Hi Alex, Sorry to intrude with a different basic question. In the below example you put this File="[#AppConfig]" how did you define that property? It should be destination path right? I would like to know the syntax since there will be a heirarchy of directories. and how do I concatenate the path along with a property value? I get an error when I do that. Alexander Shevchuk wrote: > > Here is little sample on updating value of the attribute in App.config: > > App.config: > > <?xml version="1.0" encoding="utf-8"?> > <configuration> > <appSettings> > <add key="Key1" value=""/> > </appSettings> > </configuration> > > Wix code: > > <!-- Set value of Key1 --> > <XmlConfig Id="SetKey1" > Action="create" > Node="value" > ElementPath="//appSettings/[EMAIL PROTECTED]'Key1'[\]]" > VerifyPath="//appSettings/[EMAIL PROTECTED]'Key1'[\]]" > Name="value" > Value="[INSTALLLOCATION]" > File="[#AppConfig]" > On="install" > Sequence="1" /> > > Hope this helps, > > Alex Shevchuk > > -- View this message in context: http://www.nabble.com/XmlConfig-question-tp18070140p18082721.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users