View Full Version : FeatureCompareSizeRequired and XCopy

06-02-2004, 12:45 PM

I have a setup that uses XCOPY to copy data from a folder on the data CD to the hard drive. However, when I use FeatureCompareSizeRequired, it is only looking at the file size of the entire setup and not the data files that XCOPY will use.

Is there any way to pad the numbers of MEDIA so that when I call FeatureCompareSizeRequired that the user is properly warned if they do not have enough disk space on the destination drive.


Installation Engineer

06-02-2004, 01:40 PM
I came up with a solution that does not involve the FeatureCompareRequiredSize function. I manually provided the entire required size as a variable and then called GetDiskSpace to obtain the free disk space on TARGETDIR.