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

Reply via email to