Innocentus
23rd June 2007 23:12 UTC
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
Innocentus
24th June 2007 13:44 UTC
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
24th June 2007 14:11 UTC
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
24th June 2007 14:26 UTC
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
24th June 2007 15:54 UTC
URGENT - PLEASE HELP!
Could someone help me?
Pls
With best regards.
MfG
Inno
Afrow UK
24th June 2007 18:30 UTC
Have you looked at the plugin documentation?
Stu
Innocentus
24th June 2007 23:37 UTC
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
25th June 2007 11:02 UTC
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