manasi1128
14th January 2011 09:48 UTC
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....
Afrow UK
14th January 2011 16:36 UTC
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