You're missing a digit from that error number. It should have ten digits to map to an error HRESULT. I normally convert large negative numbers back to hex, then if the upper WORD is 0x8007, I know it's a Win32 error code mapped into an HRESULT (FACILITY_WIN32 is 7). The error return of XmlLoadDocumentFromFile if IXMLDOMDocument::load returns S_FALSE is set to (HRESULT mapped) ERROR_OPEN_FAILED, which is 0x8007006E (-2,147,024,786). Assuming that is the error code returned, there could be a parsing error.
XmlLoadDocumentFromFile has the beginnings of code to report a parsing error but it's commented out. The XmlReportParseError function referenced in the commented-out code isn't implemented. You could implement such a function, uncomment the call and recompile wixca.dll to find out better information about why it's failing. My guess would be that the existing .conf file is somehow corrupt. Check with IE or Visual Studio that it is still a well-formed XML file. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Fesh Sent: 06 October 2006 19:55 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Odd failure of XmlFile in wix-2.0.4221.0 My install proceeds as normal until the ExecXmlFile custom action gets fired off. At that point, a dialog box pops up with the following error: Failed to open XML file C:\Program Files\Verari Systems\VCC\OSMon\config\vcc.conf, system error: -214704786 I've seen the system error before, and I believe it means that the file doesn't exist. ------------------------------------------------------------------------- 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