empezar
11th July 2007 20:43 UTC
RealProgress messing up inetc
I've made an online installer that downloads packages using inetc and then installs them. The best way of showing the actual progress (downloading is what takes up most of the setup time) is displaying the % of total downloads.
So if you've downloaded 3 packages adding up to 30MB out of a total of 80MB worth of packages, the RealProgress bar gets set to 30/80*100 = 37.
However, this also affects the inetc download progress bar, and on occasion it also hangs the entire installer. I'm guessing the hanging part is inetc not liking RealProgress, but I can't really be sure of anything, can I? :)
Anyway, is there a way of just setting the installation progress bar without tampering with the inetc one?
Afrow UK
11th July 2007 20:50 UTC
I'm not sure how InetC works but RealProgress makes a copy of the existing progress bar and hides the original so the installer doesn't interfere.
Stu
Backland
12th July 2007 08:19 UTC
You can try to narrow the problem down by disabling the RealProgress code and see if that helps, the hanging might be caused by something else.
empezar
12th July 2007 09:23 UTC
I did disable the realprogress code, and the download bar came back, and the hangings disappeared
Takhir
12th July 2007 14:49 UTC
InetLoad uses nsisdl code for additional progress bar, this may solve your problem (or may not :( ). Inetc in non-popup mode adds child dialog (with progress bar and cancel button) into instfiles page (3-rd level dialog :) ), this might a conflict reason.