I do not think that the files were different, since I did a "debug" build,
and then a "release" build as soon as the debug build was finished (without
any change to the source tree).  Even though the Release build was set to
use high compression, it reused the cab file (when the path is set to a
common location for all configurations) which had been built with no
compression.  If I delete the Cab Cache folder then the cab was rebuilt
using the requested compression.  At least that seems to be what the issue
is.  I have yet to go back through all of my projects and eliminate the
common cache path.

<CabinetCachePath>cabs</CabinetCachePath>
<ReuseCabinetCache>True</ReuseCabinetCache>

Also I noticed, but did not dig deeper yet, that when I have the above lines
in an 'imported' target file, external to the project file, and when I
delete the cabs folder, then run msbuild on the command line specifying the
project, the cabs folder is not created (probably because I did not
specifically pass in the above using the MSBuild /p switch).  But in VS2013
when the same project is built the cabs folder is created.  I thought I
would do a few more experiments to make sure I understand how to get the
same results whether building via msbuild or vs2013.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Compression-Level-tp7597566p7597656.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to