Archive: Calculate the size during installation


Calculate the size during installation
hi,

i want to calculate the size of files in the setup during runtime..I'm not able to calculate the total size of files.I suppose the files are stored in compressed foemat in the setup exe ...therefore while installing the setup i want t calculate the size.

thanx in advance....


This is not possible without either extracting the files first or by calculating the size before compression at compile time. Makensis already calculates the size of sections when it compresses the files. This information is shown on the Components page in case you missed it. Use SectionGetSize on your section(s).

Stu