Alright, I figured out the problem, and I think it is a bug in the Preprocessor.
In my include files, I am using elements from the Utility extension. The Include tag has xmlns:util=:"". When this file is included in my main .wxs, by using <?include ?>, the <Include> element is stripped out. This removes the xmlns:util attribute from the top of the included section. Because my .wxs file does not use any elements in the util namespace, the root element in that file does not contain the xmlns attribute. This causes an XML exception, because the elements in the Included section have util: prefixes, which is not declared in the concatenated xml. I'm going to work on a fix, which I'll submit Monday or Tuesday. As a workaround, I just added the xmlns:util attribute to my .wxs files, so the total xml, after including the include files, is valid XML. I am also going to submit a change to the error message for this error, and note that it is caused by malformed XML, rather than a .NET 1.1 SP1 bugfix. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cullen Waters Sent: Wednesday, November 22, 2006 3:05 PM To: [EMAIL PROTECTED]; Wix-Users List Subject: Re: [WiX-users] Error code lookup I agree on the too aggressive bit, especially since Wix is explicitly(in the exe.config files) set to run under .net 2.0 as well as 1.1. Presumably, any bug fixes that were present in 1.1 SP1 are also present in 2.0, which means that this message is only correct if there is an error, and if the user is running under 1.1. Thanks for the heads-up, Mike, I'll check into the xml, especially how it looks after the include is processed. I will send out an email once I find the root cause, so everyone can share in the learning. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 7:38 AM To: Cullen Waters; Wix-Users List Subject: Re: [WiX-users] Error code lookup [EMAIL PROTECTED] wrote: > Is there a way to lookup Wix error codes? I'm getting CNDL0124, and I'd li > ke to find out more about the error, so I can start debugging it. As Rob says, look in messages.xml. IIRC in v3 all the Message elements carry a Number attribute so you can simply search for Number="124". I've looked into this problem before and I think that you've actually got malformed XML, or after performing the include step the XML is malformed. I noted last time that the <Component> element is not valid under <Include> in the WiX v2 schema. The catch block in Preprocessor.cs reports SP1ProbablyNotInstalled if *any* XmlException occurs, which seems too aggressive to me. No doubt some exception is erroneously thrown if SP1 isn't installed and you try to load an XmlDocument from a StringReader, but can we not tell the difference between this and an actual malformed document? -- Mike Dimmick ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users