Skip to content
⌘ NSIS Forum Archive

Simple progressbar for NSIS?

9 posts

Innocentus#

Simple progressbar for NSIS?

Dear Friends,

FireFox Portable's launcher and core is programmed in NSIS.
I looked at the code and it is pretty simple and I love that programming system. The problem is that I want to add a primitive progressbar to the whole thing.

I only want to visualize the progress in a little Window or something like that.

Is there a way to do that?

I searched but I didnt found any function for that.

I need to know how
- to create a progressbar
- to set the value (15 %) to the bar
- and at least how to destroy it again

Thank you very much!
With best Regards
MfG
Inno
Joel#
Re: Simple progressbar for NSIS?

Originally posted by Innocentus


I searched but I didnt found any function for that.
Are you sure?







🙂
Innocentus#
URGENT!

Well, there is another very important question!
When I use a labor-intensive CopyFiles-Function in my Script without /SILENT a progressbar is shown.
Well - how can I map the progress of the file-transfer into an own progress bar?

So when I use the CopyFiles-Function my own progresshandler / bar is used.

Thank you very much!
With best regards
MfG
Inno
Afrow UK#
You have to use Locate or RecFind and change the progress bar yourself. Or, you can use the RealProgress bar with the GradualProgress function.

Stu
Innocentus#
Thank you! Last question concerning RealProgress.

Thank you very much for your fast answer!
Well, RealProgress seems to be the perfect solution for such a thing!

Only one question I have:
How can I transform this statement...

CopyFiles /SILENT $PROFILEDIRECTORY\*.* $TEMP\${NAME}\profile
into a RealProgress compatible command?

Thank you very much!
With best regards
MfG
Inno
Innocentus#
Could you show me an example, pls - with explanations.
Because it's looking so mad to me.

Thank you very much!

With best regards
MfG
Inno
Afrow UK#
There is a GradualProgress example in the Examples\RealProgress folder.
You may also want to use the optional [until_detail_reached] parameter as specified in the readme file.

Stu