Archive: Get Install Page Handle


Get Install Page Handle
I want input my two progress bar down main progress in install page.

Page instfiles
Section
MessageBox MB_OK "message"
GetDlgItem $0 $HWNDPARENT 2
Pop $0
${NSD_CreateProgressBar} 0 0 100% 10% "Test"
Pop $hwnd
${NSD_CreateTimer} NSD_Timer.Callback 10

SectionEnd
after messageBox Installer crashed.

You cannot use (most) nsDialogs macros on a non-nsDialogs page. You must call CreateWindowEx with the system plugin (and look for some other timer plugin?)...


ok thansk