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: pre-install summary panel
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
‎Nov 03, 2008
07:32 AM
pre-install summary panel
I know that the disk space in that panel is taken from the $FREE_DISK_SPACE_BYTES$ variable. the question is- is there a way to make it appear in MG or GB instead of bytes?
10x
10x
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2008
07:42 AM
As the name of the variables says it, (it contains BYTES) it'll always be displayed in bytes. You can use this variable and divide it accordingly in order to display it in MB or GB.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2008
07:57 AM
10x for the quick reply.
I know it is in byes(as I said in the questions)- my question was:
is there a way to customize the panel to display the free space in MB or GB instead of bytes
I know it is in byes(as I said in the questions)- my question was:
is there a way to customize the panel to display the free space in MB or GB instead of bytes
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 04, 2008
10:27 AM
I am looking for the same thing and didn't get it working yet.
The pre-install summary panel displays:
Disk Space Information (for Installation Target): ****
Required: 3*443*161 bytes ****
Available: 69*670*903*808 bytes
This is not very easy to read so I would also like to get those values in Mega or Giga bytes.
Unfortunately, the variables REQUIRED_DISK_SPACE_BYTES & FREE_DISK_SPACE_BYTES cannot be read in "pre-install", those are empty when pre-install summary display them !!?
Then they are readable in "install" ... but it's too late 😞
Do I made something wrong (IA 2008 VP1)
The pre-install summary panel displays:
Disk Space Information (for Installation Target): ****
Required: 3*443*161 bytes ****
Available: 69*670*903*808 bytes
This is not very easy to read so I would also like to get those values in Mega or Giga bytes.
Unfortunately, the variables REQUIRED_DISK_SPACE_BYTES & FREE_DISK_SPACE_BYTES cannot be read in "pre-install", those are empty when pre-install summary display them !!?
Then they are readable in "install" ... but it's too late 😞
Do I made something wrong (IA 2008 VP1)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 04, 2008
12:25 PM
Try using the getAvailableDiskSpace() method in the InstallerResources interface. There is also the getRequiredDiskSpace() method. Then you can convert them yourself.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 05, 2008
02:53 AM
Cool, many thanks.
Also I found the work already done at http://kb.acresso.com/selfservice/viewContent.do?externalID=Q113169
Also I found the work already done at http://kb.acresso.com/selfservice/viewContent.do?externalID=Q113169