Skip to content
⌘ NSIS Forum Archive

RealProgress plugin

12 posts

Afrow UK#

RealProgress plugin

Plugin that allows control over the progress bar positioning on the InstFiles page.

This includes the functions:

* GetProgress (Get the current progress bar position)
* SetProgress (Set the current progress bar position)
* AddProgress (Increase the current progress bar position)
* FileProgress (Increase the progress bar gradually while a file is extracted)
* GradualProgress (Gradually increase the progress bar while a process is underway)

Readme and example included.

Download:


-Stu
Guest#
works pretty fine, but it wont work when using SetCompress off. i guess its because of the missing percentage text display "Extract: File.xyz... 100%" when disabling the compression.

i hope in the next nsis version the dev team will add the percentage text even when not using compressions, because without the percentage text, the area looks kind of empty imho. 🙂

however, thank you very much, i really apreciate your work! 🙂

c ya,
nco2k
gringoloco023#
On the download page for the RealProgress plug-in it says,
Warning: This file may contain malicious code, by executing it your system may be compromised.
gringoloco023#edited
Stack destroyed :-(

Something else, GetProgress & GradualProgress pop one to many if [/ORIGINAL] or [until_detail_reached] aren't used. It was to be expected for GradualProgress, GetProcess really done my head in for an hour :-(

Try the following code (with and with the quotes on the end):
Push Pop2
Push Pop1
RealProgress::GradualProgress /NOUNLOAD 1 5 25 ; ''
DetailPrint $0
Pop $0
Pop $1
DetailPrint $0_$1
Push Pop2
Push Pop1
RealProgress::GetProgress /NOUNLOAD ; ''
Pop $0
DetailPrint $0
Pop $0
Pop $1
DetailPrint $0_$1 
[edit: BTW, I recompiled this plug-in for unicode a while ago, and it's been tested extensively.
So if there is interest I could send it. Same for some other plug-ins we really needed before, like Registry & EnumINI. Sorry don't want to give the idea I'm taking over other peoples projects, but felt like I should at least share them with the community]
Afrow UK#
I wrote this plug-in a long time ago and it needs some major work. I do plan on taking a look at it at some point but it won't be for another month at least.

Stu
MSG#
I have a unicode build of realprogress.dll, see attachment. I don't have the link where I got it from anymore, and I can't find the site using google. Maybe it's gone. Anyway, I've used this build for a long time without trouble, but I only use the SetProgress and Unload functions.