Archive: RealProgress plugin


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:
http://nsis.sourceforge.net/File:RealProgress.zip

-Stu


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


v0.2 uploaded.
Fixed problems with GradualProgress.

-Stu


Pretty damn nice plugin you have there.


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.
http://nsis.sourceforge.net/File:RealProgress.zip

They all have that message.

Stu


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]

Any chance you can make the unicode version available?


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


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.


Another great plugin!
Thanks, you make really good job for this community!!!


Oh, and I found the page where I got that unicode build. http://portableapps.com/node/21879?page=1