[wix-users] How to set DefaultCompressionLevel in the wixproj
David Bernstein
bernstein.david at microsoft.com
Wed Feb 3 08:23:34 PST 2016
Hi,
How can I set the DefaultCompressionLevel in the wixproj so it works also for VS and also for msbuild?
Running Light.exe with an explicit "-dcl:level" switch works well.
So does setting the environment variable "WIX_COMPRESSION_LEVEL=level" and using VS or msbuild.
However, adding the following to wixproj
<PropertyGroup>
<DefaultCompressionLevel>level</DefaultCompressionLevel>
</PropertyGroup>
doesn't seem to work, despite of what I understood from https://www.joyofsetup.com/2008/01/28/new-wix-feature-defaultcompressionlevel/
(I tested with level=none)
Thanks,
David
More information about the wix-users
mailing list