RealProgress::DetailProgress Problem
I am running into a problem with the RealProgress plugin and I was wondering if there is something I'm missing or if there is a workaround.
I want to increase the progress in the progress bar using the number of files/folders that I have gone through so far (RealProgress::DetailProgress).
This works unless the first variable for RealProgress::DetailProgress is greater than the second variable.
Examples:
- RealProgress::DetailProgress 100 100 works.
- RealProgress::DetailProgress 101 100 doesn't work.
- RealProgress::DetailProgress 50 50 works.
- RealProgress::DetailProgress 51 50 doesn't work.
Here's the code snippet that I want to use to determine the number of DetailPrint's to use:
${locate::GetSize} "$EXEDIR" "" $0 $1 $2
IntOp $3 $1 + $2
RealProgress::DetailProgress $3 100
However, if $3 is greater than 100, it doesn't work properly.