There are three basic changes I've made, beside getting the proper window..
Instead of the line with "${LVM_GETITEMCOUNT}", I use :GetDlgItem $0 $0 1204 ; 1204 is the correct control in my case
So far so good - I get the correct number of lines in the richedit control in $6.SendMessage $0 0xBA 0 0 $6 ; 0xBA = EM_GETLINECOUNT
Instead of the line with "${LVM_GETITEMTEXT}", I use :
Followed by the original line :# 0xC4 = EM_GETLINE
System::Call "User32::SendMessageA(i, i, i, i) i ($0, 0xc4, $2, r1)"
System::Call "*$3(&t${NSIS_MAX_STRLEN} .r4)"And that's where the problem starts... $4, at that point, contains zip, nada, nothing. In the dump log function, this contains the text from the installer log on line $2.Any thoughts on why this isn't working ? I tried looking up the MSDN info, but as far as I can tell the format is correct ( handle, message, line number, buffer ). Any help would be much appreciated.
If a post with the complete script is required, just let me know.