It works fine, but not in the following case:
Section "Section" SEC_IDX
${If} ${RunningX64}
; 64 bit code
SetOutPath "$INSTDIR\MY_APP"
File /r "C:\MY_APP\x64\*.*"
${Else}
; 32 bit code
SetOutPath "$INSTDIR\MY_APP"
File /r "C:\MY_APP\x86\*.*"
${EndIf}
SectionEnd Above example code will install 64 bit version of my app on 64 bit machine and 32 bit version of my app on 32 bit machine...The problem is that NSIS will display "double" size of this section (there are 2 "File" commands, so NSIS will add size of files in both commands).
What should I do in that case? I would like to see real size of installed files...
Should I use SectionSetSize command and manually change it? Or there is some other smart solution?
-Pawel