This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Disk space information variables return empty value
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 12, 2011
05:24 AM
Disk space information variables return empty value
Hi,
I need to show the disk space information in pre-install summary panel. As a pre-install Summary Panel, I am using Scrolling Message Panel with HTML format. To get the disk space information I have used the IA variables. $REQUIRED_DISK_SPACE_BYTES$ and $FREE_DISK_SPACE_BYTES$.
[HTML]
Disk Space Information (for Installation Target):
Required : $REQUIRED_DISK_SPACE_BYTES$
Available : $FREE_DISK_SPACE_BYTES$
[/HTML]
When I run the installer, I'm not getting any value in these variables. How can I resolve this issue? Is there any alternative to get the disk space information?
Thanks & Regards,
Achu
I need to show the disk space information in pre-install summary panel. As a pre-install Summary Panel, I am using Scrolling Message Panel with HTML format. To get the disk space information I have used the IA variables. $REQUIRED_DISK_SPACE_BYTES$ and $FREE_DISK_SPACE_BYTES$.
[HTML]
Disk Space Information (for Installation Target):
Required : $REQUIRED_DISK_SPACE_BYTES$
Available : $FREE_DISK_SPACE_BYTES$
[/HTML]
When I run the installer, I'm not getting any value in these variables. How can I resolve this issue? Is there any alternative to get the disk space information?
Thanks & Regards,
Achu
(11) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2011
12:47 AM
Hi, the Pre-Installation Summary Panel can automatically show this information.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2011
02:47 AM
Thanks for your reply!
But I cannot use the default pre-install summary panel. Because I need a different look and feel for the summary panel than the one which we get from the pre-install Summary panel given by IA. I think, i cannot customize the default pre-install summary panel to meet my requirement.
Is there any alternative to get the disk space information?
Why these variables return empty string? is it a usage problem?
But I cannot use the default pre-install summary panel. Because I need a different look and feel for the summary panel than the one which we get from the pre-install Summary panel given by IA. I think, i cannot customize the default pre-install summary panel to meet my requirement.
Is there any alternative to get the disk space information?
Why these variables return empty string? is it a usage problem?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2011
04:43 AM
The only reason I could see comes from the manual:
So you need to have this panel as the last one in the Pre-Install task.
The variable gains its value immediately before the installation of any files or folder listed in the Install task.
So you need to have this panel as the last one in the Pre-Install task.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2011
05:14 AM
Yes. This is the last panel in pre-install phase.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2011
01:48 AM
Can you post your project (or a mockup project of what you're trying to achieve)?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 19, 2011
04:57 AM
Well, if your installer doesn't bundle anything, maybe that would be the reason?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 20, 2011
01:47 AM
In my sample project,i bundle a folder($IA_PROJECT_DIR$\install\winscp). I have used install speed folder action to install this folder (winscp) in to the user install directory. I think this is how we bundle files.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 21, 2011
02:10 AM
Yes, but when I ran your example I didn't have SCP so the final installer contained nothing.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 24, 2011
10:04 AM
I don't know for what reason, but the two variables seem not to be available at that moment: I've set an Output Debug Information right before your panel and the two variables are missing from the output...
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)