I am developing a Installer with 4 features option for the user to installer .
In windows the diskspace estimate works fine and estimate changes correctly based on selecting the features .
Issue : But in Linux Platform same installer shows a wrong and static size of estimated Disk and which .
I am not sure what is the reason behind it , Need some help Thank you.
I suggest you write custom Java code and achieve this, you can have more control over it, I suggest you to explore "oshi jar" , google it.