WiX Toolset Catastrophic failure running light.exe


When running light.exe on our build server we are now seeing the following error:

light.exe : error LGHT0001: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) [blah.wixproj] build 12-Mar-2019 16:07:28 [exec] build 12-Mar-2019 16:07:28 [exec]
Exception Type: System.Runtime.InteropServices.COMException build 12-Mar-2019 16:07:28 [exec] build 12-Mar-2019 16:07:28
[exec] Stack Trace: build 12-Mar-2019 16:07:28 [exec] at Microsoft.Tools.WindowsInstallerXml.Cab.Interop.NativeMethods.CreateCabFinish(IntPtr contextHandle, IntPtr newCabNamesCallBackAddress) build 12-Mar-2019 16:07:28 [exec] at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Complete(IntPtr newCabNamesCallBackAddress) build 12-Mar-2019 16:07:28 [exec]
at Microsoft.Tools.WindowsInstallerXml.CabinetBuilder.CreateCabinet(CabinetWorkItem cabinetWorkItem) build 12-Mar-2019 16:07:28 [exec] at Microsoft.Tools.WindowsInstallerXml.CabinetBuilder.ProcessWorkItems()

We get nothing useful in the exception message, nor the event logs. Any suggestions on how to proceed? Thanks

asked on Stack Overflow Mar 12, 2019 by P.McSwain • edited May 25, 2020 by Pluto

2 Answers


this one is really weird, I suspect that it might have something to do with MSI packages - I have bootstrapper, perfectly working with a large number of MSI packages, but one set of packages causes this exception. Mystery

answered on Stack Overflow Nov 21, 2019 by MarcusUA

Maybe you've reached CAB size limit 2GB?

answered on Stack Overflow May 25, 2020 by bazarniy

User contributions licensed under CC BY-SA 3.0