PhracturedBlue
20th February 2003 23:34 UTC
How does the progress bar work?
Well, we still have one minor annoyance with our installer: After finishing all install steps, the progress bar is only 2/3 across the window. I am most likely doing something dumb, but I can't find any documentation on how the progress-bar gets updated, so I don't know where to begin.
Could someone enlighten me about how and when the progress bar changes its %-done?
btw: we are using ModernUI with modern2.exe, if that makes a difference.
If you want to see the .nsi, it is located at:
http://cvs.sourceforge.net/cgi-bin/v...win32_install/
but it requires a dynamically generated .nsh file too.
Thanks!
kichik
21st February 2003 11:48 UTC
145MB from CVS and some good moments to get it to compile just to find out that you are using Return in a section :D
When using Return in a section it won't advance the progress bar to the right position because it won't skip the instructions that come after that return statement. What you need to do is put a done label at the end of the section and jump to it.
BTW, you should put a !echo "Adding content removal..." message when including content.nsh. I was sure it got stuck somehow because it took so long on my busy computer :)
PhracturedBlue
21st February 2003 16:18 UTC
Thanks for the help. You didn't actually need to download the whole CVS repository, i would have been happy to provide my content.nsh file, had I known you'd need it. In any case, thanks again, I have fixed the problems, and added the echo as you suggested. I'd just like to reiterate how pleased I am with NSIS, and the people on these Forums have been extremely helpful.