Archive: auto size estimates not functioning in 1.98


auto size estimates not functioning in 1.98
i don't know at what point this feature stopped working, but everything else operates as expected. any troubleshooting tips you can offer to help me figure out size estimates?

THOUGHT: i just realized that i don't have anything actually in my component sections - just function calls. could this be it?


Functions can be called from more then one section, that's why they don't add size to the section they are called from.


is there a way that i could use something along the lines of an !include to get the file operations in (and counted for size)? i've broken everything into functions to make my main nsi totally english-looking and the rest of the stuff more maintainable. if i can avoid actually putting code into the main one, i'd prefer to do that.


Well, you can always manually use AddSize but I think it will be better to use macros instead of functions if it's for the main section's code to look nice.


excellent suggestion! macros worked perfectly.