Skip to content

light.exe : error LGHT0306 : An error (E_FAIL) was returned while finalizing a CAB file. #192

Open
@coolerdoncooper

Description

@coolerdoncooper

Running two Windows 11 Pro vms on Fedora Linux. One vm runs light.exe just fine and creates the .msi. The other vm has this error when trying to create the .msi using the exact same codebase, exact same toolset, exact same version of Windows, everything the same.

I define a WIX_TEMP on a D: drive with 100Gig free space. AV/WD off, full access permissions for all user and groups including the service account doing the build. It uses the same build artifacts as the other vm. The first cab file is created, there are ten files and I can extract them. But as it is finalizing the CAB file, whatever that means, it throws this error and quits.

The pipeline is being triggered by a Gitlab runner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions