Archive: MUI2 Controls handles problem for insfiles & unconfirm pages


MUI2 Controls handles problem for insfiles & unconfirm pages
Hello,

I found a problem for Modern UI 2 insfile and unconfirm pages.

You can see in InstFilesPage:

  101     FindWindow $mui.InstFilesPage "#32770" "" $HWNDPARENT
102 GetDlgItem $mui.InstFilesPage.Text $mui.DirectoryPage 1006
103 GetDlgItem $mui.InstFilesPage.ProgressBar $mui.DirectoryPage 1004
104 GetDlgItem $mui.InstFilesPage.ShowLogButton $mui.DirectoryPage 1027
105 GetDlgItem $mui.InstFilesPage.Log $mui.DirectoryPage 1016

And you can see in UnConfirmPage:
   81     FindWindow $mui.UnConfirmPage "#32770" "" $HWNDPARENT
82 GetDlgItem $mui.UnConfirmPage.Text $mui.DirectoryPage 1006
83 GetDlgItem $mui.UnConfirmPage.DirectoryText $mui.DirectoryPage 1029
84 GetDlgItem $mui.UnConfirmPage.Directory $mui.DirectoryPage 1000


It is necessary to replace $mui.DirectoryPage by $mui.InstFilesPage and $mui.UnConfirmPage.

Thanks. I'll fix that.