Page 1 of 1

Help with disk space

Posted: Mon Jan 30, 2006 1:11 pm
by Ade-Derby
Hi

Please don't shoot me down in flames, I need help. I want to check that the PC that my set up is going to run on has some clear space.

I need to do this as we are having problems with the current installer, and we have proved every time there is not enough space.

I am testing the following code and cannot get it to work, can so one please point me to where I am going wrong.

Get Free Space on C:\\ into Variable SPAREDISK
AVAILDISK = SPAREDISK - 419430400
MessageBox: Disk Space, $AVAILDISK$

When I run above, it shows nothing as the value

Adrian.

PS I am on a training course now until Friday 3rd (late) with no or little net access.

Posted: Mon Jan 30, 2006 1:28 pm
by MichaelNesmith
Hi Ade-Derby!

Thanks for reporting this issue! I believe the problem arises from the fact that the Mathematics command is unable to handle INT64 values. I'll have this escalated and resolved ASAP!

Posted: Wed Mar 12, 2008 1:38 pm
by Roostar2004
Is this still not fixed? I am running Installaware 7.5 and this still does not work.

Posted: Fri May 09, 2008 12:45 pm
by woreid
Wow. Two years and it still doesn't work. Great product. All I can think of is InstallShield and the other products must be really, really crappy if people think InstallAware is better.

Posted: Thu Jul 24, 2008 1:20 pm
by Alex_Ronquillo
As far as I can tell this has been working for a long time now. At least with IA 7 this has always worked. The problem if you are doing it exactly as
Ade-Derby was doing it, there is an error in his script. Take a look at his script and see the difference with this one:

Code: Select all

Get Free Space on C:\\ into variable SPAREDISK
Set Variable AVAILDISK to 
AVAILDISK = $SPAREDISK$ - 419430400
MessageBox: result, AVAILDISK: $AVAILDISK$