I'm using WiX 3.0 in Visual Studio 2008. I have created an MSI using WiX. I now have an issue with the displayed file size in the Custom Setup screen. I have 9 features to install: the core files, plus 8 optional files. These optional files are quite large, between about 60 and 150 MB each. The issue is that the size of these files is frequently misreported in the installer's Custom Setup screen as 0 KB, and I can't figure out why. The displayed size does not change between builds; however, I cannot figure out a consistent method of building an MSI so that the file sizes are the same. I have tried all 4 combinations of "light -sh" for the linker and, in my .wxs file, component\fi...@defaultsize="123456" (i.e. using the -sh switch with DefaultSize set, not using the -sh switch with DefaultSize set, etc.) and I can't see a consistent pattern.
The documentation (http://wix.sourceforge.net/manual-wix3/light.htm, http://wix.sourceforge.net/manual-wix2/wix_xsd_file.htm) suggests to me that I should leave DefaultSize undefined and NOT use the -sh switch, and that is what I am doing now. At this moment, the file sizes are reported correctly in my build. However, I have built the installer with these same conditions previously, and got only a "0 KB" for the file sizes. So my concern is that I will put my .wxs file into version control and someone else will use it for a build, resulting in the "0 KB" condition I don't want. Thanks, Jerry ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users