I'm using a preprocessing <?include?> in a wxs file to pull in a wxi file. This wxi file contains XmlFile elements which requires using an additional xmlns. i.e.
<Include ... xmlns:util=http://schemas.microsoft.com/wix/UtilExtension> <util:XmlFile ... It turns out that the wxs file also has to have the xmlns:util added to it. I can't find any way to do this using the XML Serialization in Microsoft.Tools.WindowsInstallerXml (other than writing my own version of Wix.OutputXml). I tried creating an ISchemaElement that basically did this in its OutputXml: writer.WriteAttributeString("xmlns", "util", null, "http://schemas.microsoft.com/wix/UtilExtension"); But when I try to use Wix.AddChild I get a runtime failure (seems to not be valid for the schema). Anyone have any clue how to go about adding this namespace into my wxs file? ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users