Oleg767
3rd March 2003 14:08 UTC
Progress Bar on installation Abort
ifErrors 0 +3
MessageBox MB_OK
|MB_ICONEXCLAMATION "Can't execute"
>Abort
>
After user clicks OK in the Message Box I need to be done:
1. Activate Close button (it remains gray) and deactivate Cancel button.
2. Advance Progress bar to the end (it stops in the middle).
flizebogen
3rd March 2003 18:01 UTC
The Close button won't be activated if you aborted the installer. It's better to jump to the end of of the section using GOTO.
In this case the installer don't fail and the Close button becomes clickable
aschenbachen
25th March 2003 17:45 UTC
progress bar
Hello,
will the nsis progress bar show the installation progress while using the page command.
example:
Page license lic
Page instfiles install
function "lic"
# it needs to be empty to show license
functionend
function "install"
copyfiles "c:\temp\*.exe" "c:\temp" 500000
functionend
the problem is that i do not want the Microsoft progress bar to show, i would like to use the NSIS progress bar to show, once i user pressed the 'i agree' button. Is there a way to do that?
Asch
kichik
25th March 2003 21:23 UTC
Code in functions, any functions, does not progress the progress bar, only code in sections.
aschenbachen
26th March 2003 13:36 UTC
progress bar
hello,
i believe i have no choice but to show the MS progress bar. that is fine. i must have missed that somewhere. My little upgrades package have to be with 'Page' but my overall installer is all in sections.
Since page can't run 'Section', 'function' is the only way.
Thanks for the info.
Asch
scully13
13th April 2004 20:17 UTC
Originally posted by kichik
Code in functions, any functions, does not progress the progress bar, only code in sections.
Am I reading too much into this or does this mean that CopyFiles should update the progress bar when used in a section? Or is this only in reference to File? I know if I don't use the /SILENT flag it shows the MS progress bar but is there anyway for CopyFiles to update to the NSIS progress bar? I was thinking maybe it did and that was why you specify a size in the call to CopyFiles. However, now I'm noticing that it doesn't. Thanks,
Joost Verburg
13th April 2004 22:22 UTC
CopyFiles is an external Windows command. It does not update the NSIS progress bar.
It's also quite difficult to know how long a file copy will take.