I found out that if we add to the attributedefinitions we can specify compression for what becomes a <Media> element.
NOTE: not all of the attributes are implemented.
Based on this page: http://wixtoolset.org/documentation/manual/v3/xsd/wix/simple_type_compressionleveltype.html
The valid values for "CompressionLevel" are:
project.Media.AttributeDefinitions += ";CompressionLevel=high"
This reference has all the attributes that are available: http://wixtoolset.org/documentation/manual/v3/xsd/wix/media.htmlNOTE: not all of the attributes are implemented.
Based on this page: http://wixtoolset.org/documentation/manual/v3/xsd/wix/simple_type_compressionleveltype.html
The valid values for "CompressionLevel" are:
- high
- medium
- low
- mszip
-
none