Loading
  • 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.
  • 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
    Expand Post
  • 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)
    Expand Post
  • Try using the getAvailableDiskSpace() method in the InstallerResources interface. There is also the getRequiredDiskSpace() method. Then you can convert them yourself.

Loading
pre-install summary panel