Archive: Progress bar


Progress bar
I have to use a special console utility in my installer to unpack/pack some files.

execDos::exec '"$RHdir\pbtl.exe" -u RedHammer.pbo'
It works about 5-10 sec (on my machine) and progress bar totally freezes during this stage it looks like hanging :(
After this stage progress bar moves very quickly, then again freezes while pbtl.exe is working...
Can I smooth its motion or something ?

Use DetailPrint or the Banner plug-in to let the user know what the installer is doing.


This may be a some kind of Animation plug-in (already exists? :) ). Banners I remember require explicite commands from installer, auto-mode not implemented yet (?). Or DOS plug-in can create new control on the INSTFILES page and send animation commands (like InetLoad or NSISdl do). The problem is that we don't know how long your application will work, so IMHO simple auto-animation banner is better.


kichik
I can't see any help filó øò plugin-dir. Can you help with Banner plug-in usage? I'd like to see a simple example ;)


See C:\Program Files\NSIS\Contrib\Banner\Example.nsi.


kichik
IMHO It's not a solution... DetailPrint and Banner are static ,they do not create illusion of progress... :(
I'm looking for a way to move progress bar constantly. i guess , about 30sec is max. time console utility working ( if CPU is slow etc ), hence I'd like to settle speed of progress bar movement


You can't withiut changing NSIS' source (your question has been asked many times before).

Just use a Banner saying "Doing something... Please wait"

-Stu


OK , I understand.
Hope these feature will be added in future releases.