Hi!
I am trying to set the EstimatedSize for "Add/remove programs" and I can't seem to find what I am looking for.
My installation programs install itself in both $INSTDIR and $APPDATA and I can't seem to find what I should use to add up the size of what I installed in both directories...
I read about ${GetSize} and the Locate plugin but none of them seem to be able to do what I want...
The "weird" thing is that what I want appears to be what the "Modern User Interface 2" displays as space required... How can I access this?
Thank you and have a nice day!
Nick
Total size of two folders...
3 posts
Section
AddSize 2000
SectionEnd
Section /o
AddSize 5000
SectionEnd
!include Sections.nsh
Section
StrCpy $0 0
StrCpy $1 0
loop:
SectionGetFlags $0 $2
IfErrors done
IntOp $2 $2 & ${SF_SELECTED}
IntCmp $2 0 next
SectionGetSize $0 $2
IntOp $1 $1 + $2
next:
IntOp $0 $0 + 1
Goto loop
done:
DetailPrint $1
SectionEnd And if you google "SectionGetSize" you will find more related information...Thank you very much, it worked very well!
The installer I am writing is replacing an installer that used to be done with InstallShield and we never had such a good support (and that thing cost an arm and a leg...).
Once again thank you very much and have a nice day!
Nick
The installer I am writing is replacing an installer that used to be done with InstallShield and we never had such a good support (and that thing cost an arm and a leg...).
Once again thank you very much and have a nice day!
Nick