We have an installer with several components, each of which has its own section. I am trying to figure out how our existing code actually sets the size of each section. We have 3 components that, if / is not checked, will update the "Space required" value on the component page.
The new section that I have added currently does not update this value. What I cannot find in our existing code is where it really is installed.
I did some research and found this post below, where the user said "size is automatically set." But how?
https://nsis-dev.imtqy.com/NSIS-Forums/html/t-291064.html
I looked through NSIS docs and saw some ways to install this, including:
You can even use CopyFilesit to set an estimated file size, which can then be used by the installer.
I searched our NSIS directory for all of the above methods and could not get any results for AddSizeor SectionSetSize. I also did not see examples CopyFileswhere the developer added the estimated space in kilobytes. Is there some kind of NSIS mask that automatically sets this size that I don't know about?
source
share