Archive: File extraction log on custom page


File extraction log on custom page
Hello,

i am writing a custom page which copies some files when clicking on the next button depending on the selection of radio buttons on my page.
So far this works fine, but no extraction progress is shown.

Is there a way to show the extraction progress or custom log?

Thanks for help.

Jörg


It would be enough, if the use gets some feedback at all.
Like extracting file, operation a, operation b, ...

Would this be possible?


Hi Joerg!

I am sorry, I don't know a way how to accomplish this.

I only know the CopyFiles function that delivers some information to the user while copying a file.

But another approach to solve this task might be your solution: First collect all information and then copy the files like everthing else in the sections.

Or can you explain, why this is not possible for you?

Have a nice day.

Bruno


All you have to do is change the string on your custom page. You can do this a la...


; ItemIndex is the index of the item to get. You can either deduce this from your custom dialog, or use WinSpy.
; from your custom dialog it'll be 1200 + field number + 1
GetDlgItem $R8 $hwnd ItemIndex
SendMessage $R8 ${WM_SETTEXT} 0 "STR:Your Text"


Note that for ${WM_SETTEXT} to do anything, you'll want to:
!include "WinMessages.nsh"

at the top of your script.