Skip to content
⌘ NSIS Forum Archive

RealProgress::DetailProgress Problem

4 posts

Vercoln#

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:😁etailProgress).

This works unless the first variable for RealProgress:😁etailProgress is greater than the second variable.

Examples:
- RealProgress:😁etailProgress 100 100 works.
- RealProgress:😁etailProgress 101 100 doesn't work.
- RealProgress:😁etailProgress 50 50 works.
- RealProgress:😁etailProgress 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:😁etailProgress $3 100
However, if $3 is greater than 100, it doesn't work properly.
ChronoSphere#
I'm having the same problem :|
File "7za.exe"
RealProgress::SetProgress /NOUNLOAD 0
RealProgress:😁etailProgress /NOUNLOAD 2000 100
nsExec::ExecToLog /OEM '"$PLUGINSDIR\7za.exe" x "$EXEDIR\Data.7z.001" -o"$INSTDIR"'
The ProgressBar just stucks @0%

Did you have any time to look at this?