|
|
#1 |
|
Junior Member
Join Date: Jun 2007
Posts: 12
|
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 |
|
|
|
|
|
#2 | |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
Re: Simple progressbar for NSIS?
Quote:
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
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jun 2007
Posts: 12
|
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 |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
|
|
#5 | |
|
Junior Member
Join Date: Jun 2007
Posts: 12
|
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... Quote:
Thank you very much! With best regards MfG Inno |
|
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Jun 2007
Posts: 12
|
Could someone help me?
Pls With best regards. MfG Inno |
|
|
|
|
|
#7 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Have you looked at the plugin documentation?
Stu |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Jun 2007
Posts: 12
|
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 |
|
|
|
|
|
#9 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|