Old 17th January 2006, 22:32   #1
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 18th January 2006, 05:14   #2
nco2k
Guest
 
Posts: n/a
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
  Reply With Quote
Old 18th January 2006, 15:15   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
v0.2 uploaded.
Fixed problems with GradualProgress.

-Stu
Afrow UK is offline   Reply With Quote
Old 19th January 2006, 09:23   #4
{_trueparuex^}
Senior Member
 
{_trueparuex^}'s Avatar
 
Join Date: Dec 2005
Location: Glow
Posts: 285
Thumbs up

Pretty damn nice plugin you have there.
{_trueparuex^} is offline   Reply With Quote
Old 14th July 2010, 19:05   #5
gringoloco023
Member
 
Join Date: Nov 2009
Posts: 52
On the download page for the RealProgress plug-in it says,
Quote:
Warning: This file may contain malicious code, by executing it your system may be compromised.
http://nsis.sourceforge.net/File:RealProgress.zip
gringoloco023 is offline   Reply With Quote
Old 14th July 2010, 19:27   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
They all have that message.

Stu
Afrow UK is offline   Reply With Quote
Old 18th July 2010, 05:17   #7
gringoloco023
Member
 
Join Date: Nov 2009
Posts: 52
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):
PHP Code:
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_$
[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]

Last edited by gringoloco023; 18th July 2010 at 05:59.
gringoloco023 is offline   Reply With Quote
Old 6th May 2011, 22:15   #8
rebot
Junior Member
 
Join Date: Apr 2011
Posts: 6
Any chance you can make the unicode version available?
rebot is offline   Reply With Quote
Old 7th May 2011, 09:45   #9
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 7th May 2011, 10:08   #10
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
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.
Attached Files
File Type: zip RealProgressU.zip (8.8 KB, 153 views)
MSG is offline   Reply With Quote
Old 7th May 2011, 17:22   #11
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 530
Send a message via ICQ to T.Slappy
Another great plugin!
Thanks, you make really good job for this community!!!

Cool looking installer with custom design: www.graphical-installer.com
I offer NSIS scripting, C/C++/C#/Delphi programming: www.unsigned.sk
Develop NSIS projects in Visual Studio 2005-2019: www.visual-installer.com
or RAD Studio 2009, 2010, XE-10.3 Rio: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Old 7th May 2011, 17:48   #12
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
Oh, and I found the page where I got that unicode build. http://portableapps.com/node/21879?page=1
MSG is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump