There are serialization/deserialization classes built directly into wix.dll. Just use the Microsoft.Tools.WindowsInstallerXml.Serialize namespace's classes.
Derek -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tasos Vogiatzoglou Sent: Thursday, November 24, 2005 2:42 AM To: [email protected] Subject: [WiX-devs] Wix source Deserialization Hello all, I've generated C# classes from the wix.xsd class (using xsd.exe) and I've tried to deserialize a wix source file to an object graph using the XmlSerializer(Type type,Type[] extraTypes) constructor. After some issues with the temporary assemblies, I 've found that I have to order the extraTypes by order of dependencies with other types. Even after that, I had the same issue with CustomTable class. Specifically with the [System.Xml.Serialization.XmlArrayItemAttribute(typeof(Data), ... public Data[][] Row; construct. So, my question is; Am I doing something wrong? Is there any way to deserialize a Wix source file to an object graph, apart from what I am doing? Thank you for your time, Tasos ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
