I can't seem to get wix cabinet caching to 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 the component that I know 100% never changes with a mark
<Component DiskId="2" ...
I see cabin files created in the cabs directory, but every time I build, I see the modified time of the cabin file change, which means that it restored the cabinet instead of reusing one of the cache.
Using Wix 3.6
How can I get this working or debug the problem further?
source share