I've been using Linq to XML for the last 9 months or so and find it to be heaven for doing this type of stuff. Hopefully I'll be able to share something soon.
--- On Thu, 2/11/10, Matt Lynch <m...@bonafidesoftware.com> wrote: > From: Matt Lynch <m...@bonafidesoftware.com> > Subject: [WiX-users] Programmatically edit .wxs files through CodeDomReader > To: "Wix Users" <wix-users@lists.sourceforge.net> > Date: Thursday, February 11, 2010, 12:19 AM > Hi, > > I'm writing a tool which makes some changes to a wix file > based on a set of rules. The basic process is: > 1.. Deserialize > 2.. Make changes > 3.. Serialize > I'm using the CodeDomReader class to read the xml into a > object model, but I am unable to keep any processing > instructions in tact, such as <? include ?>. It > seems that CodeDomReader doesn't interpret these guys. > I'm trying to avoid editing the files as plain xml. > > Any hints, advice, comments are welcome. > > Cheers, > > > Matt > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features > such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris > 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users