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

Matthias Reuss matthias.mr.reuss at wsa.com
Wed Apr 8 08:33:42 PDT 2020


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


More information about the wix-users mailing list