What is wrong here - still a bug?

Got a problem you cannot solve? Try here.
Post Reply
anumo
Posts: 12
Joined: Mon Jul 12, 2010 6:30 am

What is wrong here - still a bug?

Post by anumo »

I want to calculate the free disk space dependig on a directory selected in a destination dialog. Therefore I set a variable to 8.589.934.592 Bytes which is exactly 8 GigaByte, means my installation requires fixed 8 GB.

In an example case the Windows Explorer shows up 3.758.305.280 Bytes of free space, so the free disk space for this scenario should be 3.758.305.280 Bytes minus 8.589.934.592 Bytes = -4.831.629.312 Bytes. But, the destination dialog shows up -4.831.137.792, a mathematics control shows up -4.831.170.560.

Question: What is wrong here?
Evaluating InstallAware ...
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: What is wrong here - still a bug?

Post by mills »

One thing I'm noticing is that the disk space may change as the IA setup runs.

I noticed that the disk space was changing as I ran the installer. I imagine that the OS is caching data to the hard drive (I've got quite a few apps open, so memory is probably hard to come by). When I got to the messagebox displaying the math/data, it seemed "wrong", but when I clicked on the display for the properties of C: drive, the values updated to match the messagebox I had displaying the size...

So, try to view the disk space in the properties for the drive after you reach the point where you're getting your result to verify if this is the case or not.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Post Reply