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)
>     K:\Program Files\MSBuild\Microsoft\WiX\v3.0\Wix.targets(1115,5):
> error MSB6006: "Light.exe" exited with code -532459699.
>
> 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.

-- 
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to