Archive: How Does One Get Section File Size?


How Does One Get Section File Size?
I have noticed that the MUI_COMPONENTS_PAGE shows the total size of all the selected components. How can one retrive the the file size of the component that is to be installed from the section that installs the component? This information is apparently available to the MUI_COMPONENTS_PAGE code. Is it also available to the user?

Chris Lustig


How about:
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.13.8


Will the file size embedded in GetSectionSize be the size of the compressed component file or the uncompressed component file? I need to know the size of the uncompressed file embedded in the section.

Chris Lustig


'm not sure what you mean with uncompressed, but SectionGetSize will return the filesize needed for the files in the section on the harddisk when copied to that harddisk.


Thanks! That is the size that I need.

Chris Lustig