Yea, finally I have chose to use a custom action to implement this. Thanks,
On Fri, Jul 3, 2009 at 9:12 PM, Bob Arnson <b...@joyofsetup.com> wrote: > kezhong zhou wrote: > > The origin calculation is not accurate. Such as an installation of 100M, > the > > actual space taken would be 100.4M. So, I want to tell the user, if he > just > > have merely enough space to pass DiskSpaceCheck step, that he would fail. > > The simplest way to do this, seems to be use ReserveCost table to add > extra > > 1% space in the accumulated sum. But, I don't know the actually space, > until > > in runtime, since we might change the source file before we build final > > installer, and the size of the generated MSI file, and temporary space > taken > > in system drive are not known until we actually have the MSI file, and > > install it. > > > > Sure but it seems overkill compared to just adding a meg of reserved > cost and updating it as necessary. > > -- > sig://boB > http://joyofsetup.com/ > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users