Archive: Simple progressbar for NSIS?


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


Re: Simple progressbar for NSIS?

Originally posted by Innocentus


I searched but I didnt found any function for that.
Are you sure?
http://nsis.sourceforge.net/NxSMSILoaderDlg_plug-in
http://nsis.sourceforge.net/MSIBanner_plug-in
http://nsis.sourceforge.net/NewAdvSplash_plug-in
http://nsis.sourceforge.net/Nxs_plug-in
http://nsis.sourceforge.net/EBanner_plug-in
http://nsis.sourceforge.net/LoadingBar_UI

:)

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


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


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

URGENT - PLEASE HELP!
Could someone help me?

Pls

With best regards.
MfG
Inno


Have you looked at the plugin documentation?

Stu


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


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