What version of wix are you using? In 3.0, XmlFile belongs to an extension (and thus a completely different namespace) so its technically not a legal child of the Component element unless it has the proper namespace prefix.
Derek -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hecker, Thomas Sent: Thursday, June 01, 2006 8:08 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] XmlFile not child of Component? Hi! Taken from the tutorial I slightly changed the code to the following: <Directory Id='INSTALLDIR' Name='Symphonia'> <Component Id='Settings' Guid='98789878-574D-4A9A-A266-5B5EC2C022A4'> <File Id='XmlSettings' Name='settings.xml' DiskId='1' Source='settings.xml' Vital='yes' /> <XmlFile Id='XmlSettings2' File='[INSTALLDIR]tools\settings.xml' Action='setValue' Name='value' Value='[SI_CUSTOMER_COMPANY_NAME]' ElementPath='//settings/[EMAIL PROTECTED]"SI_CUSTOMER_COMPANY_NAME"\]'/> </Component> </Directory> When compiling I get the error error CNDL0005 : The Component element contains an unexpected child element 'XmlFile'. As I can see from the docs and the tutorial, XmlFile _is_ child of component that's why I don't understand this message. What is going wrong here? Thank you, Thomas ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=k&kid7521&bid$8729&dat1642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users