Archive: get size counts files only


get size counts files only
I am trying to use the ${GetSize} function, but it only counts files, the var used to store size keeps empty.

here's what I am using, this before any functions/sections:

!include "FileFunc.nsh"

and then inside a section:

${GetSize} `$EXEDIR` "/M=$R1.xml" $R9 $R5 $R4


I am not using the modernUI.

thanks


You must also use the /S switch: "/S=0B"


perfect, thanks :)