Help with disk space

Got a problem you cannot solve? Try here.
Post Reply
Ade-Derby
Posts: 8
Joined: Wed Oct 19, 2005 6:02 am
Location: Derby (UK)

Help with disk space

Post 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.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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!
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Roostar2004
Posts: 155
Joined: Mon Nov 12, 2007 11:59 am

Post by Roostar2004 »

Is this still not fixed? I am running Installaware 7.5 and this still does not work.
woreid
Posts: 6
Joined: Mon Mar 17, 2008 4:04 pm

Post 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.
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post 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$
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Post Reply