oldfriend
26th May 2008 10:51 UTC
Progress bar of downloading on the custom page
Hello.
Wasn't able to find answer among hundreds of topics, so excuse me if I've missed it.
Simple question. Is it possible to make such custom page where progress bar of downloading would appear?
I need progress exactly on the custom page instead of installation one.
Thank you for your attention and answers.
oldfriend
26th May 2008 11:57 UTC
OK, I figured it out:
...
>Page custom ShowDownloadingPage PressButton
>!insertmacro MUI_PAGE_INSTFILES
>...
...
...
Function ShowDownloadingPage
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "DLPage.ini"
>FunctionEnd
>Function PressButton
inetc
::get /TIMEOUT 10000 /RESUME "One more time?" "http://mydomain/myfile" "$TEMP\\myfile"
Pop $0
FunctionEnd
>
BUT!!! My question now is how to start downloading immediately right after my page is shown as now user should additionally start downloading by pressing "Install" button?
Hope for your help and thank you you again for your answers.
pospec
26th May 2008 11:59 UTC
You could do it nice in nsDialogs in "pre" function. Can you please post your .ini file? I'll try it.
oldfriend
26th May 2008 13:05 UTC
Thank you for your reply, pospec. Actually my ini file is almost empty as I need this page just for showing downloading:
***93;
>NumFields=1
>***91;Field 1***93;
>Type=Label
Text
=Label
Left=33
Right=304
Top=9
Bottom=162
>
I've placed just label there.