windows installer - Wix Cabinet Caching Not Working -
i can't seem wix cabinet caching work.
i have
<propertygroup> <cabinetcreationthreadcount>3</cabinetcreationthreadcount> <cabinetcachepath>cabs</cabinetcachepath> <reusecabinetcache>true</reusecabinetcache> </propertygroup>
in wixproj.
<media id="1" cabinet="contents.cab" embedcab="yes" compressionlevel="mszip"/> <media id="2" cabinet="static.cab" embedcab="yes" compressionlevel="mszip"/>
in wxs
and component know 100% never ever changes marked
<component diskid="2" ...
i see cab files generated in cabs directory, each time build, see modified time of cab file change, suggests it's regenerated cabinet instead of reusing 1 cache.
using wix 3.6
how can working or debug problem further?
are building or rebuilding (i.e. /t:build
or /t:rebuild
)? wix import remove generated files when rebuilding. it's possible happening if building. generate verbose log passing /v:diag
msbuild sure redirect file so:
msbuild /t:build /v:diag
if not show cab file(s) being deleted, recommend checking out http://wixtoolset.org support channel.
Comments
Post a Comment