The error message is trying say that you are missing a Media
element with Id='1'
. Usually, you'll find the Media
element under the Product
element. You just need to add something like:
<Media Id='1' />
You can then add other attributes to the Media
element to compress your files into a cabinet. With later versions of the WiX toolset you can use the MediaTemplate
element instead of the Media
element to create multiple cabinets that do not exceed a certain size. That's great if you end up with lots of files.