[wix-users] Media Id and Cabinet question for patch.wxs

Shintaro Takechi devst119 at gmail.com
Tue Jul 21 20:35:22 PDT 2020


Hi,

For Media attribute for patch, I read here older thread
<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/creating-a-WIX-small-or-minor-patch-tp7168246p7168367.html>
 that
> Id must be higher than any sequence number in the baseline
msi's Media/File table.
> Cabinet must match the original cabinet file name.

My installer apparently have 33181 files, and I had 5 cabs starting from
cab1.cab.

<Media Id="33182" Cabinet="cab1.cab">

However, candle receives error

> error CNDL0123 : The Media/@Id attribute's value, '33182', is not in the
range of legal values.  Legal values for this attribute are from 1 to 32767.

How can I resolve this?

And what cabinet should I point to when I have multiple cab files?


More information about the wix-users mailing list