[wix-users] Additional CUB files for light task?

Hoover, Jacob Jacob.Hoover at greenheck.com
Wed Apr 8 10:24:26 PDT 2020


Looking at the docs I am not sure you can.. - https://github.com/wixtoolset/wix3/blob/develop/src/chm/documents/msbuild/task_reference/light.html.md

Specifies an additional .cub file that the linker should use when running ICE validation. This is equivalent to the -cub <file.cub> switch in light.exe.

From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Matthias Reuss via wix-users
Sent: Wednesday, April 8, 2020 10:34 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Matthias Reuss <matthias.mr.reuss at wsa.com>
Subject: [wix-users] Additional CUB files for light task?

Hello,

How do I specify more than one additional CUB file for MSI validation to be done in the Light task using MSBuild?

I just learnt that
<AdditionalCub>c:\path\Cub1.cub;c:\path\Cub2.cub</AdditionalCub>
does not work (this is interpreted as one invalid file path)

However the light command line allows
Light.exe -cub c:\path\Cub1.cub -cub c:\path\Cub2.cub MyPackage.wixobj

So do I have to specify the CUB files as LinkerAdditionalOptions in MSBuild? (I actually do not like that, because it is more error-prone...)

Best regards

Matthias

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<http://www.firegiant.com>
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.



More information about the wix-users mailing list