Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wix: single MSI instead of msi + cab

You didn't post any source but I assume your wxs file has a Media element. Just set the EmbedCab attribute to "yes" in MediaTemplate e.g.

<MediaTemplate EmbedCab="yes" />

Set EmbedCab="yes".

Since WIX 3.8:

<MediaTemplate EmbedCab="yes" />

Before WIX 3.8:

<Media Id="1" Cabinet="cab1.cab" EmbedCab="yes" />

Use it like this :

<Media Id="1" Cabinet="CabFileName.cab" EmbedCab="yes" />

Also this article describes other ways of doing it.