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.
Help with disk space
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
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!
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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 155
- Joined: Mon Nov 12, 2007 11:59 am
-
- Site Admin
- Posts: 364
- Joined: Mon Jul 30, 2007 11:51 am
- Location: USA
- Contact:
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:
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 26 guests