> Date: Sat, 16 Jun 2007 11:10:58 -0700 > From: Bob Arnson <[EMAIL PROTECTED]> > Subject: Re: [WiX-users] light.exe crashes > > Michael Schoneman wrote: > > Unhandled Exception: > > Microsoft.Tools.WindowsInstallerXml.WixException: Exception of type > > 'Microsoft.Tools.WindowsInstallerXml.WixException' was thrown. > > at Microsoft.Tools.WindowsInstallerXml.ValidatorExtension.Log(String > > message) > > at Microsoft.Tools.WindowsInstallerXml.Validator.ValidationUIHandler > > (IntPtr context, UInt32 messageType, String message) > > > > If I do my build from an Administrator command prompt it completes > > successfully. Is this a known issue? Do I have to do my build as an > > admin? > > > > You're running into four things: > > 1. A bug in validation code that doesn't correctly handle errors thrown > from the validator. > 2. Light runs validation by default. > 3. Validation is a form of installation. > 4. Installation requires elevation except for packages marked as > per-user-only. > > Obviously, we can fix #1 and I think there's already a bug or two open
> on it. For #2, you can suppress it with the -sval switch, though you > lose the benefits of validation. I'm not sure #3 and #4 are fixable, > unfortunately. > Bob, Thanks for your response. I ran into the same issue and running light.exe with -sval worked around the crash. Thanks, Dale ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

